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 labels shifted in week view #5

Open
snios opened this issue May 19, 2020 · 1 comment
Open

Day labels shifted in week view #5

snios opened this issue May 19, 2020 · 1 comment

Comments

@snios
Copy link

snios commented May 19, 2020

Day labels are shifted, as in this example, 19:th is on Tuesday not Monday.

image

Would also be nice if you could set "first day of week".

I'm guessing this has to do with localization either with moment or js Date ?

@snios
Copy link
Author

snios commented May 20, 2020

Okay, so the issue here was that we already run moment.js in our application and we have forced moment on our end to have the first day as monday, and that effects this plugin, not in a good way mind you.

Since this plugin already uses moment it should be able to use moment to group the dates correctly with the dayLabels

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

1 participant