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

Day numbers miscalculated when firstDayOfWeek is set to 2. #44

Closed
Gergelin opened this issue Jan 24, 2018 · 5 comments
Closed

Day numbers miscalculated when firstDayOfWeek is set to 2. #44

Gergelin opened this issue Jan 24, 2018 · 5 comments
Assignees
Labels

Comments

@Gergelin
Copy link

Number of days displayed wrongly in previous months when the firstDayOfWeek property is set to a different value than 1.

bug

@nathanreyes nathanreyes self-assigned this Jan 24, 2018
@milostimotic
Copy link

milostimotic commented Jan 24, 2018

Updated to 0.5.5 but seems that still doesn't work.

I tried:

Vue.use(VCalendar, {
  firstDayOfWeek: 3
})

@nathanreyes
Copy link
Owner

Can you check to make sure that the package was in fact updated to v0.5.5? I think npm was taking a while to update the registry so I just want to make sure.

@milostimotic
Copy link

Sorry my bad. Yes it was updated to v0.5.5 but it seem that none of options from Vue.use(VCalendar, options) was not working because Vue was declared globally like window.Vue = Vue in bootstrap.js.

@nathanreyes
Copy link
Owner

Oh interesting. If Vue is a global object when the plugin is loaded then it calls Vue.use automatically for convenience purposes. Are you trying to use the plugin in a node environment?

@milostimotic
Copy link

Yes I am using the plugin in a node environment.

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

No branches or pull requests

3 participants