DateRange Timestamp conversion on windows fails with timestamps close to EPOCH #261
Labels
potential-workaround
Unconfirmed potential workaround available
wont-fix
Issue is marked `wont-fix` due to availability of workaround or usage outside of intended platform
wontfix
This will not be worked on
workaround
Expected Behavior
When you use DateRange with starting date before 1970 (EPOCH) it raise OSError.
OSError: [Errno 22] Invalid argument
Linking the bug ticket from Python
https://bugs.python.org/issue37527
Current Behavior
Currently it works as intended for any non Windows OS . The work around is to provide the datetime with a timezone utc.
Steps to Reproduce (for bugs)
This code will fail and raise OSError on windows.
Context
Your Environment
dbldatagen
version used:The text was updated successfully, but these errors were encountered: