X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/109abb1f2ba812aeb6dd6f982668ab631a8ae00c..41af1c62fe3bf326cc31e49ef6eee8c06dffd498:/doc/bugs/IkiWiki_does_not_use_file__39__s_mtime_for_Last_Edited.mdwn 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..440596318 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,17 @@ 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]] + +>> You're right. I thought I *had* rebuilt it but, when I started over from scratch, everything worked. Sorry for the noise! Marking this [[invalid|done]]. --[[sabr]]