changeset 291:cc2deeb5f2e6

treesum: Indicate that the ISO timestamp is UTC
author Franz Glasner <fzglas.hg@dom66.de>
date Tue, 25 Feb 2025 10:51:02 +0100
parents 3c3f8151f36a
children a1d61179e20c
files cutils/treesum.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/cutils/treesum.py	Mon Feb 24 11:50:43 2025 +0100
+++ b/cutils/treesum.py	Tue Feb 25 10:51:02 2025 +0100
@@ -539,7 +539,7 @@
             # Write execution timestamps in POSIX epoch and ISO format
             ts = int(time.time())
             self._writer.write_timestamp(ts)
-            ts = (datetime.datetime.utcfromtimestamp(ts)).isoformat("T")
+            ts = (datetime.datetime.utcfromtimestamp(ts)).isoformat("T") + "Z"
             self._writer.write_isotimestamp(ts)
 
             if comment: