Skip to content

Commit ccb74f5

Browse files
committed
Merge branch 'am/gitweb-feed-use-committer-date'
GitWeb update to use committer date consistently in rss/atom feeds. * am/gitweb-feed-use-committer-date: gitweb: rss/atom change published/updated date to committer date
2 parents 820e796 + cf6ead0 commit ccb74f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gitweb/gitweb.perl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8326,10 +8326,10 @@ sub git_feed {
83268326
my %co = %{$commitlist[$i]};
83278327
my $commit = $co{'id'};
83288328
# we read 150, we always show 30 and the ones more recent than 48 hours
8329-
if (($i >= 20) && ((time - $co{'author_epoch'}) > 48*60*60)) {
8329+
if (($i >= 20) && ((time - $co{'committer_epoch'}) > 48*60*60)) {
83308330
last;
83318331
}
8332-
my %cd = parse_date($co{'author_epoch'}, $co{'author_tz'});
8332+
my %cd = parse_date($co{'committer_epoch'}, $co{'committer_tz'});
83338333

83348334
# get list of changed files
83358335
open my $fd, "-|", git_cmd(), "diff-tree", '-r', @diff_opts,

0 commit comments

Comments
 (0)