teambition / rrule-go

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

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

Open leaanthony-sc opened 10 months ago

leaanthony-sc commented 10 months 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 8 months ago

Bump

leaanthony-sc commented 3 months ago

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