9 lines
228 B
Python
9 lines
228 B
Python
from __future__ import annotations
|
|
|
|
from datetime import UTC, datetime
|
|
|
|
|
|
def utc_now() -> datetime:
|
|
"""Return current UTC as a naive datetime for existing SQLite columns."""
|
|
return datetime.now(UTC).replace(tzinfo=None)
|