New submission from Jean-Paul Calderone <exar...@divmod.com>: Passing NUL as the separator to isoformat drops the time part of the result entirely:
>>> import datetime >>> datetime.datetime.today().isoformat() '2009-11-30T20:57:37.918750' >>> datetime.datetime.today().isoformat('x') '2009-11-30x20:57:39.902573' >>> datetime.datetime.today().isoformat('\0') '2009-11-30' >>> ---------- messages: 95845 nosy: exarkun severity: normal status: open title: datetime.datetime.isoformat truncation problem _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7413> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com