Skip to content
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

How to change momentjs locale for time scale? #101

Closed
hotrush opened this issue May 2, 2017 · 2 comments
Closed

How to change momentjs locale for time scale? #101

hotrush opened this issue May 2, 2017 · 2 comments

Comments

@hotrush
Copy link

hotrush commented May 2, 2017

No description provided.

@apertureless
Copy link
Owner

Well, thats not really related to vue-chartjs .
However according to the moment.js docs with moment.locale(locale)

According to the Chart.js docs you can then pass in the formats in the options object.

@wopian
Copy link

wopian commented May 3, 2017

Chart.js will use the global moment locale if its set before the chart is drawn according to chartjs/Chart.js#3108 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants