This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author davechallis
Recipients davechallis
Date 2017-12-01.14:39:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Tested in python 3.6.2:

    >>> import datetime
    >>> datetime.datetime.min.strftime('%Y')

Expected output:


This means that strftime and strptime aren't necessarily symmetric, e.g.:

    >>> datetime.datetime.strptime(datetime.datetime.min.strftime('%Y'), '%Y')
    ValueError: time data '1' does not match format '%Y'
Date User Action Args
2017-12-01 14:39:29davechallissetrecipients: + davechallis
2017-12-01 14:39:29davechallissetmessageid: <>
2017-12-01 14:39:29davechallislinkissue32195 messages
2017-12-01 14:39:29davechalliscreate