mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-19 19:31:54 +03:00
time format short
This commit is contained in:
parent
a75c827f55
commit
cfbbbf585a
@ -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