removed warning regarding locale definition, instead updating the definition

This commit is contained in:
Nouman Tahir 2021-08-16 12:46:57 +05:00
parent 347bd0e271
commit c0dcd4eb66

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',