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 ezio.melotti
Recipients barry-scott, ezio.melotti
Date 2009-05-02.14:16:06
SpamBayes Score 9.427967e-06
Marked as misclassified No
Message-id <>
I was able to reproduce this using an italian locale on Windows:
>>> locale.setlocale(locale.LC_TIME, 'Italian_Italy.1252')
>>> time.strftime("%A", time.strptime("2009-05-01", "%Y-%m-%d"))

That should be 'venerdì'.
I also found and that seem to be related. (#5398
instead doesn't seem to be related.)

Apparently on Py3.x a unicode string ('str') is returned, whereas Py2.x
returns an encoded string:
>>> time.strftime("%A", time.strptime("2009-05-01", "%Y-%m-%d"))
Date User Action Args
2009-05-02 14:16:08ezio.melottisetrecipients: + ezio.melotti, barry-scott
2009-05-02 14:16:08ezio.melottisetmessageid: <>
2009-05-02 14:16:07ezio.melottilinkissue5903 messages
2009-05-02 14:16:06ezio.melotticreate