# HG changeset patch # User Franz Glasner # Date 1736001099 -3600 # Node ID 46cb438fa52055c81df57adaa2e73f80aceb4148 # Parent b26c4290e9284e941bc1b8ecd02bc2bd1e5238b9 Truncate the timestamp in the output to seconds diff -r b26c4290e928 -r 46cb438fa520 cutils/treesum.py --- a/cutils/treesum.py Fri Jan 03 23:33:37 2025 +0100 +++ b/cutils/treesum.py Sat Jan 04 15:31:39 2025 +0100 @@ -270,7 +270,7 @@ if minimal is None: # Write execution timestamps in POSIX epoch and ISO format - ts = time.time() + ts = int(time.time()) outfp.write(format_bsd_line("TIMESTAMP", ts, None, False)) ts = (datetime.datetime.utcfromtimestamp(ts)).isoformat("T") outfp.write(format_bsd_line("ISOTIMESTAMP", ts, None, False))