Merge pull request #4810 from vladmandic/master

refresh dev
This commit is contained in:
Vladimir Mandic
2026-04-28 11:14:25 +02:00
committed by GitHub
4 changed files with 7 additions and 4 deletions
+4 -1
View File
@@ -35,7 +35,10 @@ def format_dt(d: datetime, seconds = False) -> str:
def ts2utc(timestamp: int) -> datetime:
return datetime.fromtimestamp(timestamp, timezone.utc)
try:
return datetime.fromtimestamp(timestamp, timezone.utc)
except Exception:
return datetime(2000, 1, 1, tzinfo=timezone.utc)
def active() -> list[Extension]:
+1 -1
Submodule wiki updated: d286c08c25...8d8ec98ef5