From: Junio C Hamano Date: Fri, 23 Feb 2018 22:28:35 GMT Subject: Re: [PATCH] Call timegm and timelocal with 4-digit year Message-ID: In-Reply-To: <20180223172045.32090-1-bwiedemann@suse.de> "Bernhard M. Wiedemann" 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. That's amusing. Will queue; thanks.