From: Joey Hess Date: Sat, 27 Sep 2008 16:50:39 +0000 (-0400) Subject: typo X-Git-Tag: 2.66~70 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/f181962dfc24c67f7db840abd3b6a3ca06e39b1b typo --- diff --git a/IkiWiki/Plugin/aggregate.pm b/IkiWiki/Plugin/aggregate.pm index 07c557bcd..8044f1ed4 100644 --- a/IkiWiki/Plugin/aggregate.pm +++ b/IkiWiki/Plugin/aggregate.pm @@ -424,7 +424,7 @@ sub expire () { #{{{ grep { exists $_->{page} && $_->{feed} eq $feed->{name} } values %guids) { if ($feed->{expireage}) { - my $days_old = (time - ($IkiWiki::pagectime{$item->{page}} || 0) / 60 / 60 / 24; + my $days_old = (time - ($IkiWiki::pagectime{$item->{page}} || 0)) / 60 / 60 / 24; if ($days_old > $feed->{expireage}) { debug(sprintf(gettext("expiring %s (%s days old)"), $item->{page}, int($days_old))); diff --git a/doc/bugs/syntax_error_in_aggregate.mdwn b/doc/bugs/syntax_error_in_aggregate.mdwn index 4ad57e771..1e69e7fab 100644 --- a/doc/bugs/syntax_error_in_aggregate.mdwn +++ b/doc/bugs/syntax_error_in_aggregate.mdwn @@ -7,3 +7,5 @@ Current git : This prevents a Debian package build (due to `t/syntax.t`). Not knowing the units being used, I don't know where to add the missing parenthesis. + +[[done]]