mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-02 11:15:35 +03:00
Merge pull request #2039 from ecency/nt/locale-warning-fix
nt - locale warning fix
This commit is contained in:
commit
55256c33ff
@ -54,7 +54,7 @@ export const getTimeFromNowNative = (d) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export const setMomentLocale = () => {
|
export const setMomentLocale = () => {
|
||||||
moment.locale('en', {
|
moment.updateLocale('en', {
|
||||||
relativeTime: {
|
relativeTime: {
|
||||||
future: 'in %s',
|
future: 'in %s',
|
||||||
past: '%s',
|
past: '%s',
|
||||||
|
Loading…
Reference in New Issue
Block a user