Message75981
Yes, microsecond support is fine. Elaborating on my initial comment.
The following should assert:
a_datetime = datetime.now()
a_datetime.replace(microsecond = 1)
iso_str = adatetime.isoformat()
b_datetime = datetime.strptime(iso_str, "%Y%m%dT%H%M%S.%f")
assert(a_datetime = b_datetime)
The datetime shall be an invariant.
Fixed from my point of view, Andreas |
|
Date |
User |
Action |
Args |
2008-11-17 20:57:09 | baloan | set | recipients:
+ baloan, zseil, christian.heimes, wangchun |
2008-11-17 20:57:09 | baloan | set | messageid: <1226955429.17.0.877896538493.issue1982@psf.upfronthosting.co.za> |
2008-11-17 20:57:08 | baloan | link | issue1982 messages |
2008-11-17 20:57:08 | baloan | create | |
|