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

when change lenguaje to months #11

Open
gitcoffee opened this issue Jun 19, 2020 · 1 comment
Open

when change lenguaje to months #11

gitcoffee opened this issue Jun 19, 2020 · 1 comment

Comments

@gitcoffee
Copy link

No description provided.

@BobSynfig
Copy link

Declare "my_locale" object in your data() section and pass it as property to your calendar-heatmap

 <calendar-heatmap :locale="my_locale" ... />
data() {
  return {
    (...)
    my_locale = {
      months: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
      days: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
      on: 'on',
      less: 'Less',
      more: 'More'
    }
   (...)
}

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

2 participants