mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-09-04 11:44:47 +08:00
fix(spec): fix message timestamp spec
This commit is contained in:
parent
89323b05db
commit
51906bd085
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ class MessageTimestamp extends React.Component
|
||||||
|
|
||||||
_formattedDate: (msgDate, now, isDetailed) =>
|
_formattedDate: (msgDate, now, isDetailed) =>
|
||||||
if isDetailed
|
if isDetailed
|
||||||
return msgDate.format "MMMM D, YYYY [at] h:mm A z"
|
return msgDate.format "MMMM D, YYYY [at] h:mm A"
|
||||||
else
|
else
|
||||||
diff = now.diff(msgDate, 'days', true)
|
diff = now.diff(msgDate, 'days', true)
|
||||||
isSameDay = now.isSame(msgDate, 'days')
|
isSameDay = now.isSame(msgDate, 'days')
|
||||||
|
|
Loading…
Add table
Reference in a new issue