mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-11-24 00:46:27 +03:00
fixed temporary time solution
This commit is contained in:
parent
f4e57281ec
commit
68ad2d660a
@ -14,10 +14,7 @@ const THIS_MONTH = moment()
|
||||
export const getTimeFromNow = (value) => {
|
||||
if (!value) return null;
|
||||
|
||||
return moment
|
||||
.utc(value)
|
||||
.local()
|
||||
.fromNow();
|
||||
return moment(value).fromNow();
|
||||
};
|
||||
|
||||
export const getFormatedCreatedDate = (value) => {
|
||||
|
Loading…
Reference in New Issue
Block a user