> > Surely it is not the _last changed time_ but the _first seen time_ of each page that is pulled out of the VCS?
> > If the aim is to get the real creation times of items in weblogs, then the last times that the items were
> > changed in the VCS is not going to help. -- [[seanh]]
+>>> Typo, fixed. --[[Joey]]
> > > If you want to preserve the date of a page, the best way to do it is to
> > > use [[ikiwiki/directive/meta]] date="foo". This will survive checkouts,
$EDITOR "$pagename"
>>>>> -- [[Jon]]
+
+> A quick workaround for me to get modification times right is the following
+> little zsh script, which unfortunately only works for git:
+
+ #!/usr/bin/env zsh
+
+ set +x
+
+ for FILE in **/*(.); do
+ TIMES="`git log --pretty=format:%ai $FILE`"
+ MTIME="`echo $TIMES | head -n1`"
+
+ if [ ! -z $MTIME ]; then
+ echo touch -m -d "$MTIME" $FILE
+ touch -m -d "$MTIME" $FILE
+ fi
+
+ done
+
+> --[[David_Riebenbauer]]