From: Tuomas Jormola Date: Sun, 31 Oct 2010 17:53:06 +0000 (+0200) Subject: Use author date instead of commit date X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d32a1028ab59e20b2c1d8caaefa65e154181ea05;p=ikiwiki.git Use author date instead of commit date Signed-off-by: Tuomas Jormola --- diff --git a/IkiWiki/Plugin/git.pm b/IkiWiki/Plugin/git.pm index f5101d904..3fa29b22f 100644 --- a/IkiWiki/Plugin/git.pm +++ b/IkiWiki/Plugin/git.pm @@ -688,7 +688,7 @@ sub findtimes ($$) { if (! keys %time_cache) { my $date; foreach my $line (run_or_die('git', 'log', - '--pretty=format:%ct', + '--pretty=format:%at', '--name-only', '--relative')) { if (! defined $date && $line =~ /^(\d+)$/) { $date=$line;