Skip to content

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