Re: [PATCH] Call timegm and timelocal with 4-digit year
From: Junio C Hamano <hidden> Date: 2018-02-23 22:28:44
"Bernhard M. Wiedemann" [off-list ref] writes:
amazingly timegm(gmtime(0)) is only 0 before 2020
because perl's timegm deviates from GNU timegm(3) in how it handles years.
man Time::Local says
Whenever possible, use an absolute four digit year instead.
with a detailed explanation about ambiguity of 2-digit years above that.