fix: show technical timestamps in tooltips

This commit is contained in:
gti
2026-09-22 21:05:39 -03:00
parent f05e4a10a2
commit c2507aee35
9 changed files with 89 additions and 15 deletions
+4 -1
View File
@@ -24,7 +24,10 @@ def _page(page: int, page_size: int):
def _iso(value):
return value.isoformat() if value else None
if value is None:
return None
value = value.replace(tzinfo=timezone.utc) if value.tzinfo is None else value.astimezone(timezone.utc)
return value.isoformat()
def _utc_now(value=None):