gitweb.cgi: fix "comitter_tz" typo in feed
authorDylan Alex Simon <dylan@dylex.net>
Thu, 11 Oct 2012 20:40:35 +0000 (16:40 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 12 Oct 2012 15:43:12 +0000 (08:43 -0700)
gitweb's feeds sometimes contained committer timestamps in the wrong timezone
due to a misspelling.

Signed-off-by: Dylan Simon <dylan@dylex.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/gitweb.perl

index 7f8c1878d407e07c3ac4ac16d840557a18176d29..10ed9e51a5880430f7f109ff83f950a768a7c530 100755 (executable)
@@ -8028,7 +8028,7 @@ sub git_feed {
                %latest_commit = %{$commitlist[0]};
                my $latest_epoch = $latest_commit{'committer_epoch'};
                exit_if_unmodified_since($latest_epoch);
-               %latest_date = parse_date($latest_epoch, $latest_commit{'comitter_tz'});
+               %latest_date = parse_date($latest_epoch, $latest_commit{'committer_tz'});
        }
        print $cgi->header(
                -type => $content_type,