Double newlines between functions ...

This commit is contained in:
Matthias 2024-02-15 20:45:16 +01:00
parent fd48991fb0
commit 60b12c1d9e

View File

@ -37,6 +37,7 @@ def dt_ts_def(dt: Optional[datetime], default: int = 0) -> int:
return int(dt.timestamp() * 1000)
return default
def dt_ts_none(dt: Optional[datetime]) -> Optional[int]:
"""
Return dt in ms as a timestamp in UTC.