]> sipb.mit.edu Git - ikiwiki.git/commitdiff
aggregate: Avoid bug that caused immediate expiration of items with a date in the future.
authorJoey Hess <joey@kodama.kitenet.net>
Thu, 16 Oct 2008 22:20:16 +0000 (18:20 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Thu, 16 Oct 2008 22:20:16 +0000 (18:20 -0400)
IkiWiki/Plugin/aggregate.pm
debian/changelog

index 26c5cc9ae209bd63c90adb573014c333ecb34644..c18784e8b8c64d143c06b469906beb2f329c087b 100644 (file)
@@ -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 ($) { #{{{
index ecef4f158c6f0ae16bdfe11f744c4c034ae2b8b6..43c53953ee17fe47f5112e7a1c9318356c98f17d 100644 (file)
@@ -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