-
-
Notifications
You must be signed in to change notification settings - Fork 504
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
Wrong occurance on day of daylight savings change #157
Comments
Same issue here. using
OCT 2 is missing. |
For our use cases, it can apparently be fixed by just removing timezone awareness from
I'm not sure if this has implications that I'm not aware of, though, since I did not dive deep into the code. @espen @jakubroztocil do you see any problems with this or should I create a PR? |
I have a similar issue (UK timezone):
In rrule 2.2.9 this gives:
Daylight savings time ends on the 28th October. All the occurrences from this date onwards are shifted one day earlier. The above change to fromOrdinal appears to fix it. |
@anupvarghese I believe this has been fixed in 2.3.4. |
Yes, it looks a bit confusing from the issue header. Here is the description
Today (2nd - Oct -2016 -Australia/Sydney) time has changed with a daylight savings (1 hr further).
I have the below snippet to explain the issue,
By the iCal string it is scheduled to run Weekly by Sunday at 16 HRS
Here is what I get when I run the below,
> rule.between(new Date(2016, 8, 1), new Date(2016, 10, 1)).map(p => console.log(p));
On the day when the day light savings changed, it is behaving differently (Look at the bold text)
The text was updated successfully, but these errors were encountered: