cannot reproduce

master
Joey Hess 2008-04-10 19:32:43 -04:00
parent abde579038
commit 92e39d7391
1 changed files with 12 additions and 0 deletions

View File

@ -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]]