git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
d048a96
)
gitweb: correct month in date display for atom feeds
author
Vincent Zanotti
<redacted>
Sat, 10 Nov 2007 18:55:27 +0000
(19:55 +0100)
committer
Junio C Hamano
<redacted>
Sat, 10 Nov 2007 20:47:16 +0000
(12:47 -0800)
Signed-off-by: Vincent Zanotti <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb/gitweb.perl
patch
|
blob
|
history
diff --git
a/gitweb/gitweb.perl
b/gitweb/gitweb.perl
index 3064298f28837ced72897b6bc6401b3061882926..9deefce0a61a3581b78047d6b38c4f506c4a3cfa 100755
(executable)
--- a/
gitweb/gitweb.perl
+++ b/
gitweb/gitweb.perl
@@
-1713,7
+1713,7
@@
sub parse_date {
$date{'mday-time'} = sprintf "%d %s %02d:%02d",
$mday, $months[$mon], $hour ,$min;
$date{'iso-8601'} = sprintf "%04d-%02d-%02dT%02d:%02d:%02dZ",
- 1900+$year, $mon, $mday, $hour ,$min, $sec;
+ 1900+$year,
1+
$mon, $mday, $hour ,$min, $sec;
$tz =~ m/^([+\-][0-9][0-9])([0-9][0-9])$/;
my $local = $epoch + ((int $1 + ($2/60)) * 3600);
git clone https://git.99rst.org/PROJECT