Message365077
isoformat function does not conform to the ISO 8601 and drops microseconds part if its value is 000000.
The issue can be reproduced using the following code snippet:
for i in range(1,10000000):
timestamp=datetime.datetime.utcnow().isoformat()
if len(timestamp)!=26:
print(timestamp) |
|
Date |
User |
Action |
Args |
2020-03-26 14:14:48 | Alexander Bolshakov | set | recipients:
+ Alexander Bolshakov |
2020-03-26 14:14:48 | Alexander Bolshakov | set | messageid: <1585232088.22.0.568073689149.issue40076@roundup.psfhosted.org> |
2020-03-26 14:14:48 | Alexander Bolshakov | link | issue40076 messages |
2020-03-26 14:14:47 | Alexander Bolshakov | create | |
|