mirror of
https://github.com/th30d4y/ExecuTrace.git
synced 2026-05-26 19:36:32 +00:00
first commit
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from datetime import datetime, timezone
|
||||
|
||||
|
||||
ISO_FORMAT = "%Y-%m-%dT%H:%M:%S.%fZ"
|
||||
|
||||
|
||||
def utc_now_iso() -> str:
|
||||
"""Return a UTC timestamp in ISO-8601 format."""
|
||||
return datetime.now(tz=timezone.utc).strftime(ISO_FORMAT)
|
||||
Reference in New Issue
Block a user