fix footer version formatting

This commit is contained in:
agessaman
2026-02-21 09:10:54 -08:00
parent cb9d8255d7
commit 5d79f41b4c
+2 -2
View File
@@ -195,8 +195,8 @@ class BotDataViewer:
out["commit"] = commit or None
if date_raw:
try:
# %ci is ISO format; take date part only
out["date"] = date_raw.split("T")[0]
# %ci is "YYYY-MM-DD HH:MM:SS +tz"; take date part only
out["date"] = date_raw.split()[0]
except IndexError:
out["date"] = date_raw
return out