зеркало из https://github.com/microsoft/git.git
Merge branch 'jc/perl-git-comment-typofix'
A comment fix. * jc/perl-git-comment-typofix: perl/Git.pm: typofix in a comment
This commit is contained in:
Коммит
0e544bf6cd
|
@ -532,7 +532,7 @@ If TIME is not supplied, the current local time is used.
|
|||
=cut
|
||||
|
||||
sub get_tz_offset {
|
||||
# some systmes don't handle or mishandle %z, so be creative.
|
||||
# some systems don't handle or mishandle %z, so be creative.
|
||||
my $t = shift || time;
|
||||
my $gm = timegm(localtime($t));
|
||||
my $sign = qw( + + - )[ $gm <=> $t ];
|
||||
|
|
Загрузка…
Ссылка в новой задаче