-
-
Notifications
You must be signed in to change notification settings - Fork 866
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
Incorrect day numbers in month view #173
Comments
It works fine for me in safari on mac as well, what timezone are you in? Perhaps it's an issue with your particular timezone. Weird how it works in chrome on macos and not windows as they use the same code under the hood |
Central Time (CT) UTC-06:00 |
I think the issue is related to this: date-fns/date-fns#376, sadly there's not much I can do to resolve it until the date-fns lib adds support for UTC date operations. |
TIL you can simulate a timezone in unit tests by simply doing
I've slightly changed the logic that generates the month view which might fix the issue, please give 0.13.1 a go 😄 |
Bug description / Feature request:
Some months have duplicate days:
March 1997, for example, day "9" repeats itself and the following day numbers are in the wrong place (offset by the extra "9" day). (see plunkr)
For bugs only, a link to minimally working plunker that reproduces the issue (you can fork a starter from any of the demos)
http://plnkr.co/edit/fFbxmsdCpMva1BON92CU?p=preview
Versions
Angular: 4.0.1
Calendar library: 0.12.0
Browser name and version:
Safari 10.0.3 (on macOS 10.11.6)
Chrome 57.0.2987.133 (on Windows 7)
The text was updated successfully, but these errors were encountered: