Skip Montanaro added the comment: One example demonstrating that the datetime module at least prefers a decimal point:
>>> import dateutil.parser >>> t = '1993-04-21 08:03:00,123' >>> dateutil.parser.parse(t) datetime.datetime(1993, 4, 21, 8, 3, 0, 123000) >>> dateutil.parser.parse(t).isoformat() '1993-04-21T08:03:00.123000' Looking at datetime.py, it appears the dot is hard-coded there. Maybe there would be value in the right hand (logging) and the left hand (datetime) doing things the same way? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29955> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com