Fix event timestamp to use UTC

This commit is contained in:
thePR0M3TH3AN
2025-07-03 14:39:41 -04:00
parent 4e95a52f98
commit 248b893527

View File

@@ -36,7 +36,7 @@ class EventHandler:
# Assuming evt.created_at is always an integer Unix timestamp
if isinstance(evt.created_at, int):
created_at_str = time.strftime(
"%Y-%m-%d %H:%M:%S", time.localtime(evt.created_at)
"%Y-%m-%d %H:%M:%S", time.gmtime(evt.created_at)
)
else:
# Handle unexpected types gracefully