-
Describe the bugI have problem with locales in my app Reproductionhttps://codesandbox.io/s/sad-star-c1ldo System InfoSystem:
OS: Windows 10 10.0.19043
CPU: (12) x64 Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz
Memory: 3.53 GB / 15.82 GB
Binaries:
Node: 14.18.1 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.5 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 7.24.1 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: Spartan (44.19041.1266.0), Chromium (94.0.992.50)
Internet Explorer: 11.0.19041.1202
npmPackages:
@vitejs/plugin-react: ^1.0.0 => 1.0.5
vite: ^2.6.4 => 2.6.10 Used Package Manageryarn Logsimport moment from "moment";
import 'moment/locale/ru';
moment.locale('ru');
not work Validations
|
Beta Was this translation helpful? Give feedback.
Answered by
yankydoo
Oct 29, 2021
Replies: 1 comment 1 reply
-
I'm having the same issue. A workaround is described here #3755 (comment):
I'm still interested in what the exact problem is. Should we open a PR at moment.js? EDIT: nevermind, I forgot that moment.js is "done" |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
bluwy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm having the same issue. A workaround is described here #3755 (comment):
import 'moment/locale/ru';
withimport 'moment/dist/locale/ru';
I'm still interested in what the exact problem is. Should we open a PR at moment.js? EDIT: nevermind, I forgot that moment.js is "done"