mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-01 18:13:53 -05:00
Merge pull request #13845 from overleaf/ii-rp-incorrect-date
[web] Fix date issues in review panel GitOrigin-RevId: 447185cc97aae5a2e6d8944be578fa103b39325b
This commit is contained in:
parent
680d5e0a6f
commit
66f540c6eb
4 changed files with 5 additions and 5 deletions
|
@ -147,7 +147,7 @@ function AggregateChangeEntry({
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
<div className="rp-entry-metadata">
|
<div className="rp-entry-metadata">
|
||||||
{formatTime(entry.metadata.ts, 'MMM d, y h:mm a')}
|
{formatTime(entry.metadata.ts, 'MMM D, Y h:mm A')}
|
||||||
•
|
•
|
||||||
{user && (
|
{user && (
|
||||||
<span
|
<span
|
||||||
|
|
|
@ -144,7 +144,7 @@ function ChangeEntry({
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div className="rp-entry-metadata">
|
<div className="rp-entry-metadata">
|
||||||
{formatTime(entry.metadata.ts, 'MMM d, y h:mm a')}
|
{formatTime(entry.metadata.ts, 'MMM D, Y h:mm A')}
|
||||||
•
|
•
|
||||||
{user && (
|
{user && (
|
||||||
<span
|
<span
|
||||||
|
|
|
@ -88,7 +88,7 @@ function Comment({ thread, threadId, comment }: CommentProps) {
|
||||||
</p>
|
</p>
|
||||||
{!editing && (
|
{!editing && (
|
||||||
<div className="rp-entry-metadata">
|
<div className="rp-entry-metadata">
|
||||||
{!deleting && formatTime(comment.timestamp, 'MMM d, y h:mm a')}
|
{!deleting && formatTime(comment.timestamp, 'MMM D, Y h:mm A')}
|
||||||
{comment.user.isSelf && !deleting && (
|
{comment.user.isSelf && !deleting && (
|
||||||
<span className="rp-comment-actions">
|
<span className="rp-comment-actions">
|
||||||
•
|
•
|
||||||
|
|
|
@ -88,7 +88,7 @@ function ResolvedCommentEntry({
|
||||||
</Linkify>
|
</Linkify>
|
||||||
</p>
|
</p>
|
||||||
<div className="rp-entry-metadata">
|
<div className="rp-entry-metadata">
|
||||||
{formatTime(comment.timestamp, 'MMM d, y h:mm a')}
|
{formatTime(comment.timestamp, 'MMM D, Y h:mm A')}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
|
@ -104,7 +104,7 @@ function ResolvedCommentEntry({
|
||||||
{t('mark_as_resolved')}.
|
{t('mark_as_resolved')}.
|
||||||
</p>
|
</p>
|
||||||
<div className="rp-entry-metadata">
|
<div className="rp-entry-metadata">
|
||||||
{formatTime(thread.resolved_at, 'MMM d, y h:mm a')}
|
{formatTime(thread.resolved_at, 'MMM D, Y h:mm A')}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue