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

Add basic fold support #424

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

emontnemery
Copy link

@emontnemery emontnemery commented Nov 2, 2021

Add basic fold support to enable testing of DST transitions with python 3.6+ when using a fold aware timezone library
The PR does not update pickle_fake_datetime to preserve fold information.

Because fold information is lost when adding a timedelta to a datetime, this does not work when tz_offset is used.

Fixes #422

@couling
Copy link

couling commented Sep 26, 2023

Just ran into this bug, is there a reason it's not been merged, does it need further work?

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.

datetime_to_fakedatetime function ignores fold parameter
2 participants