Skip to content

Reproduce bug where dst leap is passed on to subsequent occurences - #647

Closed
schreven wants to merge 1 commit into
sabre-io:masterfrom
schreven:master
Closed

schreven wants to merge 1 commit into
sabre-io:masterfrom
schreven:master

Conversation

@schreven

@schreven schreven commented Apr 22, 2024 •

Copy link
Copy Markdown

Part of issue #648

@phil-davis

phil-davis commented May 7, 2024 •

Copy link
Copy Markdown
Contributor

@schreven thanks for the test cases.
So the problem is that if a requested event time is in the region 0200 <= time < 0300 then that time does not exist on the morning that "summer time" starts. There is 0159 then straight to 0300 "on the clock".
The event for that day does a reasonable thing. For example, a request for a meeting at 0215 gets scheduled at 0315.

But then that daily event gets scheduled at 0315 on the following days, which is not correct. The event should happen at 0215 (now on the "summer time" clock).

Do you have a suggested fix?

@schreven

schreven commented May 7, 2024

Copy link
Copy Markdown
Author

Hey @phil-davis, yes you summarized the issue perfectly.

I see that you spotted the issue I created #648 and I continued the discussion there.

Thank you for this library, it's a nice piece of software

@phil-davis

Copy link
Copy Markdown
Contributor

This code, and the fixes related to it was done in #653

@phil-davis phil-davis closed this May 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants