Merge branch 'ur/svn-local-zone' into maint

"git svn" used with "--localtime" option did not compute the tz
offset for the timestamp in question and instead always used the
current time, which has been corrected.

* ur/svn-local-zone:
  git svn fetch: Create correct commit timestamp when using --localtime
This commit is contained in:
Junio C Hamano 2017-09-10 17:02:52 +09:00
Родитель 00fd0afefd 1adc4b9a58
Коммит e0d52ec4ab
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -1416,7 +1416,7 @@ sub parse_svn_date {
delete $ENV{TZ};
}
my $our_TZ = get_tz_offset();
my $our_TZ = get_tz_offset($epoch_in_UTC);
# This converts $epoch_in_UTC into our local timezone.
my ($sec, $min, $hour, $mday, $mon, $year,