diff options
author | Lars Wirzenius <liw@liw.fi> | 2024-01-09 13:48:58 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2024-01-09 13:48:58 +0200 |
commit | 0bb39e9abdc3ea42818289d2e5126c846b2a9b91 (patch) | |
tree | da7a225bfe94e12fe34d35060cfc9a6ab3f957e4 | |
parent | 80f04e2cb168314b49cc9fcf31229eb44900b64b (diff) | |
download | wumpus-hunter-0bb39e9abdc3ea42818289d2e5126c846b2a9b91.tar.gz |
fix: include timestamp in the last-updated footer.
Signed-off-by: Lars Wirzenius <liw@liw.fi>
-rwxr-xr-x | wumpus-hunter | 2 |
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") |