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

Catch timezone error for pre-epoch added_at on Windows #1875

Merged
merged 1 commit into from
Mar 23, 2024

Conversation

simonc56
Copy link
Collaborator

astimezone() on Windows cannot handle pre-epoch dates (before 1970-01-01) and raises OSError: [Errno 22] Invalid argument

fixes #1873

@glensc
Copy link
Collaborator

glensc commented Mar 23, 2024

what would be the effect of this? the time loses timezone offset so the hours could go wrong?

@simonc56 simonc56 merged commit f0c6a70 into Taxel:main Mar 23, 2024
3 checks passed
@glensc
Copy link
Collaborator

glensc commented Mar 24, 2024

@simonc56 why merge without responding to my question?

@glensc
Copy link
Collaborator

glensc commented Apr 29, 2024

@simonc56: as my question would be next question: why even try to convert it? use what you had for fallback for all platforms?

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.

sync fails for movies that were released in the 1950s, 1960s, or 1970s
2 participants