MCPcopy Create free account
hub / github.com/Tron521/codex-console-temp / utcnow_naive

Function utcnow_naive

src/core/timezone_utils.py:41–43  ·  view source on GitHub ↗

Return a naive UTC datetime for legacy ORM fields.

()

Source from the content-addressed store, hash-verified

39
40
41def utcnow_naive() -> datetime:
42 """Return a naive UTC datetime for legacy ORM fields."""
43 return datetime.now(UTC).replace(tzinfo=None)
44
45
46def to_utc(dt: datetime | None) -> datetime | None:

Callers 15

create_accountFunction · 0.85
set_settingFunction · 0.85
update_proxy_last_usedFunction · 0.85
_utc_nowFunction · 0.85
_utc_nowFunction · 0.85
cleanup_database_logsFunction · 0.85
refresh_account_tokenFunction · 0.85
batch_upload_to_cpaFunction · 0.85
poll_due_jobsMethod · 0.85

Calls

no outgoing calls