Message400429
When executing the following statement on a Windows machine it fails.
On a linux machine it returns the expected date (9999-31-12 00:00:00)
The Error we get on Windows is:
OSError: [Errno 22] Invalid argument
In another manor it was reported before:
https://bugs.python.org/issue29097
The code:
from datetime import datetime
epoch_time = 253402210800000/1000
print(datetime.fromtimestamp(epoch_time)) |
|
Date |
User |
Action |
Args |
2021-08-27 14:52:22 | janripke | set | recipients:
+ janripke, paul.moore, tim.golden, zach.ware, steve.dower |
2021-08-27 14:52:22 | janripke | set | messageid: <1630075942.93.0.0506592878726.issue45031@roundup.psfhosted.org> |
2021-08-27 14:52:22 | janripke | link | issue45031 messages |
2021-08-27 14:52:22 | janripke | create | |
|