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 belopolsky, davechallis, serhiy.storchaka
Date 2017-12-01.19:05:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1512155142.84.0.213398074469.issue32195@psf.upfronthosting.co.za>
In-reply-to
Content
My mistake, it appears to be related to the OS it's running on rather than the version (I just happened to test with different versions on different OSes).

On Mac OS X (with 3.6.2):

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

On Linux (with 3.6.2 again):

    >>> import datetime
    >>> datetime.datetime.min.strftime('%Y')
    '1
History
Date User Action Args
2017-12-01 19:05:42davechallissetrecipients: + davechallis, belopolsky, serhiy.storchaka
2017-12-01 19:05:42davechallissetmessageid: <1512155142.84.0.213398074469.issue32195@psf.upfronthosting.co.za>
2017-12-01 19:05:42davechallislinkissue32195 messages
2017-12-01 19:05:42davechalliscreate