Issue #11188, #19748: mktime() returns -1 on error. On Linux, the tm_wday field
is used as a sentinel () to detect if -1 is really an error or a valid timestamp. On AIX, tm_wday is unchanged even on success and so cannot be used as a sentinel.
V
Victor Stinner committed
8c8b4e0ebf5f58fae2d10453cda9d4ee614794d9
Parent: 42a526c