Files
sfera/services/api-server/src/api_server/time_utils.py
T
m 8db3225359
CI / python (push) Has been cancelled
CI / rust (push) Has been cancelled
Add shared timestamp utility
2026-05-17 22:40:37 +03:00

8 lines
160 B
Python

from __future__ import annotations
from datetime import datetime, timezone
def current_timestamp() -> str:
return datetime.now(timezone.utc).isoformat()