{"thread":{"id":"10787","subject":"[PATCH] gitweb: correct month in date display for atom feeds","startedAt":"2007-11-10T18:55:27Z","lastAt":"2007-11-10T18:55:27Z","messageCount":1,"participants":["Vincent Zanotti"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"59234","messageId":"4735FE9F.30808@m4x.org","threadId":"10787","inReplyTo":null,"subject":"[PATCH] gitweb: correct month in date display for atom feeds","fromName":"Vincent Zanotti","fromEmail":"vincent.zanotti@m4x.org","sentAt":"2007-11-10T18:55:27Z","receivedAt":"2007-11-10T18:55:27Z","isPatch":true,"sender":{"key":"vincent.zanotti@m4x.org","avatar":null},"body":"Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>\n\n---\n gitweb/gitweb.perl |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\ndiff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl\nindex 759dff1..e788ef9 100755\n--- a/gitweb/gitweb.perl\n+++ b/gitweb/gitweb.perl\n@@ -1856,7 +1856,7 @@ sub parse_date {\n        $date{'mday-time'} = sprintf \"%d %s %02d:%02d\",\n                             $mday, $months[$mon], $hour ,$min;\n        $date{'iso-8601'}  = sprintf \"%04d-%02d-%02dT%02d:%02d:%02dZ\",\n-                            1900+$year, $mon, $mday, $hour ,$min, $sec;\n+                            1900+$year, 1+$mon, $mday, $hour ,$min, $sec;\n\n        $tz =~ m/^([+\\-][0-9][0-9])([0-9][0-9])$/;\n        my $local = $epoch + ((int $1 + ($2/60)) * 3600);\n--\n1.5.3.4\n"}]}