Re: [PATCH] Call timegm and timelocal with 4-digit year

2018-02-26 Thread Bernhard M. Wiedemann
On 2018-02-24 23:28, Ævar Arnfjörð Bjarmason wrote: > My Time::Local 1.2300 on perl 5.024001 currently interprets "69" here as > 1969, but after this it'll be 2069. on one hand, there is already perl -e 'use Time::Local; print scalar gmtime(Time::Local::timegm(0,0,0,1,0,68))' Sun Jan 1

[PATCH] Call timegm and timelocal with 4-digit year

2018-02-23 Thread Bernhard M. Wiedemann
ily and safely. Signed-off-by: Bernhard M. Wiedemann <bwiedem...@suse.de> --- contrib/examples/git-svnimport.perl | 2 +- git-cvsimport.perl | 4 +++- perl/Git.pm | 4 +++- perl/Git/SVN.pm | 2 +- 4 files changed, 8 insertions(+), 4