We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Chart.js/src/scales/scale.time.js
Line 5 in be6660c
Hello ! )
Project structure:
app/ main.js /node_modules /moment — version 2.19 /chart.js /node_modules /moment — version 2.18
Simple code. But not work.
// main.js import 'moment'; import 'moment/locale/ru'; moment.locale('ru');
'scale.time.js' from Chart.js works with 'en' locale.
scale.time.js have self 'moment' instance, different from app 'moment' instance.
global variables is evil
I think need write:
moment = window.moment || moment ; if (!moment) throw new Error...
The text was updated successfully, but these errors were encountered:
I think this is covered by #2906 and other related issues
Sorry, something went wrong.
No branches or pull requests
Chart.js/src/scales/scale.time.js
Line 5 in be6660c
Hello ! )
Project structure:
Simple code. But not work.
'scale.time.js' from Chart.js works with 'en' locale.
scale.time.js have self 'moment' instance, different from app 'moment' instance.
global variables is evil
I think need write:
The text was updated successfully, but these errors were encountered: