mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-22 04:41:43 +03:00
time format short
This commit is contained in:
parent
c5f5d20b88
commit
ce6a1709d8
@ -37,6 +37,8 @@ const UserListItem = ({
|
||||
<FormattedRelativeTime
|
||||
value={description.value}
|
||||
numeric="auto"
|
||||
// eslint-disable-next-line react/style-prop-object
|
||||
style="short"
|
||||
unit={description.unit}
|
||||
/>
|
||||
</Text>
|
||||
|
@ -81,7 +81,13 @@ class PostHeaderDescription extends PureComponent {
|
||||
{isPromoted ? (
|
||||
intl.formatMessage({ id: 'post.sponsored' })
|
||||
) : (
|
||||
<FormattedRelativeTime value={date.value} numeric="auto" unit={date.unit} />
|
||||
<FormattedRelativeTime
|
||||
value={date.value}
|
||||
// eslint-disable-next-line react/style-prop-object
|
||||
style="short"
|
||||
numeric="auto"
|
||||
unit={date.unit}
|
||||
/>
|
||||
)}
|
||||
</Text>
|
||||
{isShowOwnerIndicator && (
|
||||
|
@ -335,6 +335,8 @@ class UpvoteView extends Component {
|
||||
<FormattedRelativeTime
|
||||
value={payoutDate.value}
|
||||
numeric="auto"
|
||||
// eslint-disable-next-line react/style-prop-object
|
||||
style="short"
|
||||
unit={payoutDate.unit}
|
||||
/>
|
||||
</Text>
|
||||
|
Loading…
Reference in New Issue
Block a user