mirror of
https://github.com/git/git
synced 2024-10-28 19:25:47 +00:00
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:
commit
0e544bf6cd
1 changed files with 1 additions and 1 deletions
|
@ -532,7 +532,7 @@ sub version {
|
||||||
=cut
|
=cut
|
||||||
|
|
||||||
sub get_tz_offset {
|
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 $t = shift || time;
|
||||||
my $gm = timegm(localtime($t));
|
my $gm = timegm(localtime($t));
|
||||||
my $sign = qw( + + - )[ $gm <=> $t ];
|
my $sign = qw( + + - )[ $gm <=> $t ];
|
||||||
|
|
Loading…
Reference in a new issue