mirror of
https://github.com/ecency/ecency-mobile.git
synced 2025-01-04 20:15:51 +03:00
removed warning regarding locale definition, instead updating the definition
This commit is contained in:
parent
347bd0e271
commit
c0dcd4eb66
@ -54,7 +54,7 @@ export const getTimeFromNowNative = (d) => {
|
||||
};
|
||||
|
||||
export const setMomentLocale = () => {
|
||||
moment.locale('en', {
|
||||
moment.updateLocale('en', {
|
||||
relativeTime: {
|
||||
future: 'in %s',
|
||||
past: '%s',
|
||||
|
Loading…
Reference in New Issue
Block a user