summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2024-01-09 13:48:58 +0200
committerLars Wirzenius <liw@liw.fi>2024-01-09 13:48:58 +0200
commit0bb39e9abdc3ea42818289d2e5126c846b2a9b91 (patch)
treeda7a225bfe94e12fe34d35060cfc9a6ab3f957e4
parent80f04e2cb168314b49cc9fcf31229eb44900b64b (diff)
downloadwumpus-hunter-0bb39e9abdc3ea42818289d2e5126c846b2a9b91.tar.gz
fix: include timestamp in the last-updated footer.
Signed-off-by: Lars Wirzenius <liw@liw.fi>
-rwxr-xr-xwumpus-hunter2
1 files changed, 1 insertions, 1 deletions
diff --git a/wumpus-hunter b/wumpus-hunter
index 837ac00..1ab4ab1 100755
--- a/wumpus-hunter
+++ b/wumpus-hunter
@@ -261,7 +261,7 @@ def count(src, counts, stats):
f"<tr><td>{date}</td><td>{link}</td><td class=numeric>{succ}</td><td class=numeric>{fail}</td></tr>\n"
)
f.write("</table>\n")
- timestamp = time.strftime("%Y-%m-%d %H:%M:%S")
+ timestamp = time.strftime("%Y-%m-%d %H:%M:%S %z")
f.write(f"<p>Last updated {timestamp}</p>\n")
f.write("</body>\n")
f.write("</html>\n")