summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rwxr-xr-xql-ikiwiki-publish2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 740c670..3c03815 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,8 @@ NEWS for ql-ikiwiki-publish
Version 0.5+git, not yet released
---------------------------------
+* Run ikiwiki with the `--gettime` option to make sure timestamps are
+ correct.
Version 0.5, released 2016-05-16
---------------------------------
diff --git a/ql-ikiwiki-publish b/ql-ikiwiki-publish
index 927c83e..be5b1a1 100755
--- a/ql-ikiwiki-publish
+++ b/ql-ikiwiki-publish
@@ -51,7 +51,7 @@ try:
setup = os.path.join(T, 'ikiwiki.setup')
html = os.path.join(T, 'html')
mangle_setup('ikiwiki.setup', setup, html)
- subprocess.check_call(['ikiwiki', '--setup', setup])
+ subprocess.check_call(['ikiwiki', '--setup', setup, '--gettime'])
subprocess.check_call(
['rsync', '-ahHSvs', '--delete', html + '/.', rsync_target])
except BaseException as e: