From: Joey Hess Date: Thu, 10 Apr 2008 23:32:43 +0000 (-0400) Subject: cannot reproduce X-Git-Tag: 2.43~24 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=92e39d7391cf5337445ce6129a1d31666c886bf8;p=ikiwiki.git cannot reproduce --- diff --git a/doc/bugs/IkiWiki_does_not_use_file__39__s_mtime_for_Last_Edited.mdwn b/doc/bugs/IkiWiki_does_not_use_file__39__s_mtime_for_Last_Edited.mdwn index 85120b803..acbf338b4 100644 --- a/doc/bugs/IkiWiki_does_not_use_file__39__s_mtime_for_Last_Edited.mdwn +++ b/doc/bugs/IkiWiki_does_not_use_file__39__s_mtime_for_Last_Edited.mdwn @@ -5,3 +5,15 @@ I have a bunch of pages that have been imported from another wiki. Their Last E The *actual* mtime of the output file can be whatever works best for IkiWiki (as discussed on [[todo/mtime]]). I'd just like IkiWiki to display the correct Last Edited date. Thanks for any hints! -- [[sabr]] + +> I can't reproduce this. ikiwiki _does_ look at the mtime, and that's what +> it puts in the last edited date. Example: +> +> joey@kodama:~/src/ikiwiki>touch -t 198501011111 doc/bar.mdwn +> joey@kodama:~/src/ikiwiki>make +> [...] +> joey@kodama:~/src/ikiwiki>grep Last\ edit html/bar.html +> Last edited Tue Jan 1 11:11:00 1985 +> +> Note that if you then touch the file to be even older, it won't notice +> in a refresh. You'd have to force a rebuild in that case. --[[Joey]]