Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transition from daylight saving time (DST) to standard time is not handled properly #1

Open
alecigne opened this issue Aug 31, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@alecigne
Copy link
Owner

On the day of transition from daylight saving time (DST) to standard time, ambiguous local time values exist between 1:00 AM and 2:00 AM since this hour happens "twice" locally. As SomaFM's song history webpage display local times only (example here), computing a correct UTC broadcast time during this period becomes annoying (e.g. deciding between DST and standard time for two tracks played at 01:30 AM).

For the sake of simplicity, all broadcasts during this period are thus listed as being played in the DST timezone (one time correctly, and another time incorrectly during the "second 01:00 AM hour"). This will create a "void" of one hour in a UTC timeline.

Example: on 2021-11-07 at 01:00 AM #1 in Los Angeles, it was 2021-11-07 08:00 AM UTC. On 01:00 AM #2, it was 2021-11-07 09:00 AM UTC. However, no broadcasts will exist at this UTC hour.

@alecigne alecigne added the bug Something isn't working label Aug 31, 2024
@alecigne alecigne self-assigned this Aug 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant