* aggregate: Don't let feeds set creation times for pages in the future.
parent
194894eb69
commit
ba6b8e5e3e
|
@ -416,7 +416,8 @@ sub add_page (@) { #{{{
|
||||||
|
|
||||||
# Set the mtime, this lets the build process get the right creation
|
# Set the mtime, this lets the build process get the right creation
|
||||||
# time on record for the new page.
|
# time on record for the new page.
|
||||||
utime $mtime, $mtime, pagefile($guid->{page}) if defined $mtime;
|
utime $mtime, $mtime, pagefile($guid->{page})
|
||||||
|
if defined $mtime && $mtime <= time;
|
||||||
} #}}}
|
} #}}}
|
||||||
|
|
||||||
sub htmlescape ($) { #{{{
|
sub htmlescape ($) { #{{{
|
||||||
|
|
|
@ -3,6 +3,7 @@ ikiwiki (2.21) UNRELEASED; urgency=low
|
||||||
* Old versions of git-init don't support --git-dir or GIT_DIR with
|
* Old versions of git-init don't support --git-dir or GIT_DIR with
|
||||||
--bare. Change ikiwiki-makerepo to use a method that should work with
|
--bare. Change ikiwiki-makerepo to use a method that should work with
|
||||||
those older versions too.
|
those older versions too.
|
||||||
|
* aggregate: Don't let feeds set creation times for pages in the future.
|
||||||
|
|
||||||
-- Joey Hess <joeyh@debian.org> Fri, 11 Jan 2008 15:09:37 -0500
|
-- Joey Hess <joeyh@debian.org> Fri, 11 Jan 2008 15:09:37 -0500
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue