diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-01-02 23:38:45 -0500 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-01-02 23:38:45 -0500 |
commit | 41234a3f0f03b66ff2f446c2bebed6646481f017 (patch) | |
tree | 1427d8b864dd8c43ad276554be00faac41b4b586 /IkiWiki | |
parent | 4678e1a79daa5d2e66960723e9cae8531c72bf67 (diff) | |
download | ikiwiki-41234a3f0f03b66ff2f446c2bebed6646481f017.tar ikiwiki-41234a3f0f03b66ff2f446c2bebed6646481f017.tar.gz |
round days old message
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Plugin/aggregate.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/aggregate.pm b/IkiWiki/Plugin/aggregate.pm index 37939245c..503f23ae4 100644 --- a/IkiWiki/Plugin/aggregate.pm +++ b/IkiWiki/Plugin/aggregate.pm @@ -229,7 +229,7 @@ sub expire () { #{{{ my $days_old = (time - $IkiWiki::pagectime{$item->{page}}) / 60 / 60 / 24; if ($days_old > $feed->{expireage}) { debug(sprintf(gettext("expiring %s (%s days old)"), - $item->{page}, $days_old)); + $item->{page}, int($days_old))); $item->{expired}=1; } } |