summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IkiWiki/Plugin/aggregate.pm4
-rw-r--r--debian/changelog2
2 files changed, 6 insertions, 0 deletions
diff --git a/IkiWiki/Plugin/aggregate.pm b/IkiWiki/Plugin/aggregate.pm
index 26c5cc9ae..c18784e8b 100644
--- a/IkiWiki/Plugin/aggregate.pm
+++ b/IkiWiki/Plugin/aggregate.pm
@@ -625,6 +625,10 @@ sub add_page (@) { #{{{
# Store it in pagectime for expiry code to use also.
$IkiWiki::pagectime{$guid->{page}}=$mtime;
}
+ else {
+ # Dummy value for expiry code.
+ $IkiWiki::pagectime{$guid->{page}}=time;
+ }
} #}}}
sub htmlescape ($) { #{{{
diff --git a/debian/changelog b/debian/changelog
index ecef4f158..43c53953e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,6 +13,8 @@ ikiwiki (2.67) UNRELEASED; urgency=low
* inline: Allow MTIME to be used in inlinepage.tmpl.
* inline: Use the feed's description in the rss and atom links.
Closes: #502113
+ * aggregate: Avoid bug that caused immediate expiration of items
+ with a date in the future.
-- Joey Hess <joeyh@debian.org> Mon, 06 Oct 2008 16:07:50 -0400