jkbrzt / rrule

JavaScript library for working with recurrence rules for calendar dates as defined in the iCalendar RFC and more.
https://jkbrzt.github.io/rrule
Other
3.3k stars 513 forks source link

Error with "every friday" #163

Closed devilbes closed 6 years ago

devilbes commented 7 years ago

2017-01-17 18 05 41

For any query "Every friday", in March instead of one of the Fridays are always issues Thursday! anyone can help solve the problem?

thanks

espen commented 6 years ago

I'm unable to replicate this on master. Can you please provide a failing test?

devilbes commented 6 years ago

@espen Yes, sure... On your website in demo: https://jakubroztocil.github.io/rrule/#/rfc/FREQ=WEEKLY;COUNT=30;WKST=MO;BYDAY=FR: Select the checkbox "byweekday" => "RRule.FR"... And you see March 22 will issue Thursday

this problem, only with the fourth or fifth Friday in March .....

2018-01-16 19 58 56
espen commented 6 years ago

Unable to replicate it. Might be DST issue though.

devilbes commented 6 years ago

@espen I understood the problem, this happens on the day when the clock is switched from daylight saving time from IST to IDT

espen commented 6 years ago

Yeah, there are some other issues dealing with DST so keeping this one closed.