mirror of
https://github.com/ecency/ecency-mobile.git
synced 2025-01-08 07:02:25 +03:00
fixed temporary time solution
This commit is contained in:
parent
efce5e7660
commit
b061778856
@ -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