evalEmpire / y2038

Fix time.h on 32 bit machines to work past the year 2038 bug
https://github.com/schwern/y2038/wiki
MIT License
114 stars 24 forks source link

Value of SYSTEM_MKTIME_MAX #17

Open VTiTux opened 5 years ago

VTiTux commented 5 years ago

Why is the default value of SYSTEM_MKTIME_MAX 2038/01/18 19:14:07 when the 2038 bug happens after 2038/01/19 3:14:07? https://en.wikipedia.org/wiki/Year_2038_problem (confirmed on my system).

VTiTux commented 5 years ago

And the rollover time is 1901/12/13 20:45:52 instead of 1901/12/13 12:45:52 (for SYSTEM_MKTIME_MIN)