From 75498ac7dda8becd2e5624790fddd19bb3d33bd1 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Mon, 16 May 2016 18:18:47 +0300 Subject: Run ikiwiki with --gettime --- NEWS | 2 ++ ql-ikiwiki-publish | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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: -- cgit v1.2.1