aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/IkiWiki_does_not_use_file__39__s_mtime_for_Last_Edited.mdwn
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-04-10 19:32:43 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-04-10 19:32:43 -0400
commit92e39d7391cf5337445ce6129a1d31666c886bf8 (patch)
tree8049f013fa7fba81d60c7524070c3dc8073bae48 /doc/bugs/IkiWiki_does_not_use_file__39__s_mtime_for_Last_Edited.mdwn
parentabde579038df063e72f518388aaa01d445dd7c68 (diff)
downloadikiwiki-92e39d7391cf5337445ce6129a1d31666c886bf8.tar
ikiwiki-92e39d7391cf5337445ce6129a1d31666c886bf8.tar.gz
cannot reproduce
Diffstat (limited to 'doc/bugs/IkiWiki_does_not_use_file__39__s_mtime_for_Last_Edited.mdwn')
-rw-r--r--doc/bugs/IkiWiki_does_not_use_file__39__s_mtime_for_Last_Edited.mdwn12
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]]