Store timestamps in UTC and print in localtime

This commit is contained in:
2026-01-22 21:56:12 +01:00
parent 4bcd9f2a7f
commit 9c7f4dfd1a
3 changed files with 13 additions and 4 deletions

View File

@@ -316,7 +316,7 @@ class DDNSRequestHandler(BaseHTTPRequestHandler):
except ValueError:
return (400, "badip")
now = datetime.now()
now = datetime.now(datetime.timezone.utc)
changed = False
if ipv4: