From f181962dfc24c67f7db840abd3b6a3ca06e39b1b Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 27 Sep 2008 12:50:39 -0400 Subject: [PATCH] typo --- IkiWiki/Plugin/aggregate.pm | 2 +- doc/bugs/syntax_error_in_aggregate.mdwn | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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]] -- 2.45.0