]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/bugs/IkiWiki_does_not_use_file__39__s_mtime_for_Last_Edited.mdwn
added symlink to pagespec/po in basewiki to fix the build
[ikiwiki.git] / doc / bugs / IkiWiki_does_not_use_file__39__s_mtime_for_Last_Edited.mdwn
index 39f5922397394bd19a12eec2e2461b86c691aa4a..44059631807175b7ed2ec0e19c82ad6629c681fb 100644 (file)
@@ -4,4 +4,18 @@ 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!
+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]]