[issue25149] datetime.weekday() off by one if handling a date from utcfromtimestamp()
AndreC added the comment: as I said, I'm not a smart man, the sort order was wrong and the year was simply wrong... sorry :-/ -- resolution: -> not a bug status: open -> closed ___ Python tracker <http://bugs.python.
[issue25149] datetime.weekday() off by one if handling a date from utcfromtimestamp()
New submission from AndreC: I've stumbled over an odd datetime.weekday() behaviour in Python 2.7.8 (default, Jun 18 2015, 18:54:19) [GCC 4.9.1] on linux2) under Ubuntu. weekday() is off by 1. Code to reproduce: from datetime import datetime date = datetime.utcfromtimestamp(int('