Skip Montanaro added the comment: >>>> time.strptime('2015 3 20 0', '%Y %m %d %w') > time.struct_time(tm_year=2015, tm_mon=3, tm_mday=20, tm_hour=0, tm_min=0, > tm_sec=0, tm_wday=6, tm_yday=79, tm_isdst=-1) > > All date values are known, the problem is that they contradict.
Garbage in, garbage out. :-) Clearly today is not Sunday. I not sure there is a correct answer in the face of contradictory inputs. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23717> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com