Merge pull request #2039 from ecency/nt/locale-warning-fix

nt - locale warning fix
This commit is contained in:
Feruz M 2021-08-16 12:39:42 +03:00 committed by GitHub
commit 55256c33ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,7 +54,7 @@ export const getTimeFromNowNative = (d) => {
};
export const setMomentLocale = () => {
moment.locale('en', {
moment.updateLocale('en', {
relativeTime: {
future: 'in %s',
past: '%s',