[issue33400] logging.Formatter does not default to ISO8601 date format

Paul Ganssle report at bugs.python.org
Tue May 1 15:56:41 EDT 2018


Paul Ganssle <p.ganssle at gmail.com> added the comment:

ISO 8601 does not require an offset (in fact, most portions of the ISO 8601 date and time are optional - ISO 8601 is more complicated than most people think). Without an offset a datetime is assumed to be local time.

The T delimiter is required, but can be omitted by mutual consent, see https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations

----------
nosy: +p-ganssle

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33400>
_______________________________________


More information about the Python-bugs-list mailing list