teambition / rrule-go

Go library for working with recurrence rules for calendar dates.
MIT License
318 stars 57 forks source link

Invalid timestamps for `HOURLY` interval RRULEs when DST change occurs #63

Open leaanthony-sc opened 1 year ago

leaanthony-sc commented 1 year ago

Describe the bug teambition/rrule-go version: v1.8.2

We ran across an issue where RRULEs that use HOURLY intervals return incorrect timestamps when the timestamp corresponds to a DST switch.

Consider the following scenario:

The same bug can be seen when DST ends on April 2nd 2023.

To Reproduce We have raised a PR to show the bug.

Expected behavior Should return correct hour values.

leaanthony-sc commented 9 months ago

Bump

leaanthony-sc commented 5 months ago

@zensh - When can we get the linked PR merged in? Thanks.