diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-03-06 14:54:08 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-03-06 14:54:08 -0800 |
commit | 179e1f53b8a8ce4ea756e644fc1da0006d8f0c25 (patch) | |
tree | 997bfbc5ad35898edcdc42464c2245f992678e7c /perl/Git | |
parent | Merge branch 'jk/strbuf-read-file-close-error' (diff) | |
parent | perl: call timegm and timelocal with 4-digit year (diff) | |
download | tgif-179e1f53b8a8ce4ea756e644fc1da0006d8f0c25.tar.xz |
Merge branch 'bw/perl-timegm-timelocal-fix'
Y2k20 fix ;-) for our perl scripts.
* bw/perl-timegm-timelocal-fix:
perl: call timegm and timelocal with 4-digit year
Diffstat (limited to 'perl/Git')
-rw-r--r-- | perl/Git/SVN.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl/Git/SVN.pm b/perl/Git/SVN.pm index bc4eed3d75..991a5885e9 100644 --- a/perl/Git/SVN.pm +++ b/perl/Git/SVN.pm @@ -1405,7 +1405,7 @@ sub parse_svn_date { $ENV{TZ} = 'UTC'; my $epoch_in_UTC = - Time::Local::timelocal($S, $M, $H, $d, $m - 1, $Y - 1900); + Time::Local::timelocal($S, $M, $H, $d, $m - 1, $Y); # Determine our local timezone (including DST) at the # time of $epoch_in_UTC. $Git::SVN::Log::TZ stored the |