diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-09-27 12:50:39 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-09-27 12:50:39 -0400 |
commit | f181962dfc24c67f7db840abd3b6a3ca06e39b1b (patch) | |
tree | 6f017aa6f1b13b3224491476a152628f359eff27 | |
parent | c84c7d6ea7517a7c78c487d604f5a4db4693a446 (diff) | |
download | ikiwiki-f181962dfc24c67f7db840abd3b6a3ca06e39b1b.tar ikiwiki-f181962dfc24c67f7db840abd3b6a3ca06e39b1b.tar.gz |
typo
-rw-r--r-- | IkiWiki/Plugin/aggregate.pm | 2 | ||||
-rw-r--r-- | doc/bugs/syntax_error_in_aggregate.mdwn | 2 |
2 files changed, 3 insertions, 1 deletions
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]] |