diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/bugs/IkiWiki_does_not_use_file__39__s_mtime_for_Last_Edited.mdwn | 12 |
1 files changed, 12 insertions, 0 deletions
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]] |