diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2018-05-04 21:20:54 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-04 21:20:54 (GMT) |
commit | c4994dc00d9828a99510f3851da93b0e1c18361d (patch) | |
tree | b59891f8791ccf7a9591bfa5c4c91384fe8d20d2 /Doc/howto | |
parent | 9d3627e311211a1b4abcda29c36fe4afe2c46532 (diff) | |
download | cpython-c4994dc00d9828a99510f3851da93b0e1c18361d.zip cpython-c4994dc00d9828a99510f3851da93b0e1c18361d.tar.gz cpython-c4994dc00d9828a99510f3851da93b0e1c18361d.tar.bz2 |
bpo-33400: Clarified documentation to indicate no strict adherence to ISO 8601. (GH-6702)
Diffstat (limited to 'Doc/howto')
-rw-r--r-- | Doc/howto/logging.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/howto/logging.rst b/Doc/howto/logging.rst index f8b78b6..e9e5580 100644 --- a/Doc/howto/logging.rst +++ b/Doc/howto/logging.rst @@ -296,9 +296,9 @@ which should print something like this: 2010-12-12 11:41:42,612 is when this event was logged. -The default format for date/time display (shown above) is ISO8601. If you need -more control over the formatting of the date/time, provide a *datefmt* -argument to ``basicConfig``, as in this example:: +The default format for date/time display (shown above) is like ISO8601 or +RFC 3339. If you need more control over the formatting of the date/time, provide +a *datefmt* argument to ``basicConfig``, as in this example:: import logging logging.basicConfig(format='%(asctime)s %(message)s', datefmt='%m/%d/%Y %I:%M:%S %p') |