round days old message
[ikiwiki.git] / IkiWiki / Plugin / aggregate.pm
index 37939245c6ab957b25142a16f87242031777a15f..503f23ae49e2206e30341fdc2c44c4f2333c3228 100644 (file)
@@ -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;
                                }
                        }