Make story timestamps always relative time
This commit is contained in:
parent
473d57fb74
commit
e1b60b927a
3 changed files with 3 additions and 0 deletions
|
@ -109,6 +109,7 @@ export const MyStories = ({
|
|||
])}
|
||||
<MessageTimestamp
|
||||
i18n={i18n}
|
||||
isRelativeTime
|
||||
module="MyStories__story__timestamp"
|
||||
timestamp={story.timestamp}
|
||||
/>
|
||||
|
|
|
@ -138,6 +138,7 @@ export const StoryListItem = ({
|
|||
</div>
|
||||
<MessageTimestamp
|
||||
i18n={i18n}
|
||||
isRelativeTime
|
||||
module="StoryListItem__info--timestamp"
|
||||
timestamp={timestamp}
|
||||
/>
|
||||
|
|
|
@ -240,6 +240,7 @@ export const StoryViewsNRepliesModal = ({
|
|||
{i18n('StoryViewsNRepliesModal__reacted')}
|
||||
<MessageTimestamp
|
||||
i18n={i18n}
|
||||
isRelativeTime
|
||||
module="StoryViewsNRepliesModal__reply--timestamp"
|
||||
timestamp={reply.timestamp}
|
||||
/>
|
||||
|
|
Loading…
Reference in a new issue