Andreas Balogh <[EMAIL PROTECTED]> added the comment: 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 _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1982> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com