aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-01-02 23:38:45 -0500
committerJoey Hess <joey@kodama.kitenet.net>2008-01-02 23:38:45 -0500
commit41234a3f0f03b66ff2f446c2bebed6646481f017 (patch)
tree1427d8b864dd8c43ad276554be00faac41b4b586 /IkiWiki
parent4678e1a79daa5d2e66960723e9cae8531c72bf67 (diff)
downloadikiwiki-41234a3f0f03b66ff2f446c2bebed6646481f017.tar
ikiwiki-41234a3f0f03b66ff2f446c2bebed6646481f017.tar.gz
round days old message
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/aggregate.pm2
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;
}
}