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.27k stars 506 forks source link

Generating wrong dates! #564

Closed darkcris1 closed 1 year ago

darkcris1 commented 1 year ago

I tried this at https://npm.runkit.com/rrule 2022-12-22_00-46

ul8 commented 1 year ago

Looks like this might be due to lack of timezone info. As I understand it, you are generating in UTC but displaying in Singapore time. Try adding a "tzid" for your local timezone

domicode commented 1 year ago

Not sure if this is related but somehow this seems wrong as well when you select a weekday and monthly:

image