IronLanguages / ironpython3

Implementation of Python 3.x for .NET Framework that is built on top of the Dynamic Language Runtime.
Apache License 2.0
2.48k stars 287 forks source link

Fix issue with timestamp timezone #1740

Closed slozier closed 1 year ago

slozier commented 1 year ago

Expecting timestamp to roundtrip:

d = datetime.datetime(2000,1,1)
assert datetime.datetime.fromtimestamp(d.timestamp()) == d