-
Notifications
You must be signed in to change notification settings - Fork 14
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
Week day name bug #31
Comments
jamie-nxtgencare
pushed a commit
to jamie-nxtgencare/Calendario
that referenced
this issue
May 11, 2018
Looks good, I'll do a little bit more test and merge the pull request. |
👍 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Retrieving the week day name for a date on a Saturday always returns Sunday. This is because of a bad bug fix from 5 years ago:
codrops/Calendario@0977d07
The bug fixed reads:
While they are correct if self.options.startln is 1, if you don't set that to 1, then you move Saturday to Sunday needlessly. This line should be:
'weekdayname' : self.options.weeks[($(this).index() + self.options.startIn) % 7],
The text was updated successfully, but these errors were encountered: