-
Notifications
You must be signed in to change notification settings - Fork 838
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import moment from 'moment-timezone'; import 'moment/min/locales'; not working #1078
Comments
Usually situations like this are caused by accidentally having 2 different copies of |
@gilmoreorless
|
What's specified in This is something I'm hoping to solve by moving |
I've completely removed the 'node_modules' directory and reinstalled it, but the issue still persists. Do I need to have "moment" for 'moment-timezone' to have the necessary locale files? Are they compatible? |
If there's a lockfile like |
Environment
{
"moment": "2.29.4",
"momentTz": "0.5.43",
"date": "Sat Oct 28 2023 16:45:48 GMT+0600 (East Kazakhstan Time)",
"intlZone": "Asia/Almaty"
}
Issue description
the locales do not load. But if I use
then it works
The text was updated successfully, but these errors were encountered: