Jun 26 MT-0 phase

This commit is contained in:
2026-06-26 16:19:48 -04:00
parent 5d95cdbbfc
commit fc39491891
13 changed files with 1094 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
"""
control/time_utils.py
---------------------
Mirror of `app/utils/time_utils.now_eastern()` so the control plane keeps the
same naive-US/Eastern timestamp convention (CLAUDE.md Rule 2) WITHOUT importing
the data-plane app package.
"""
from datetime import datetime
import pytz
EASTERN = pytz.timezone('America/New_York')
def now_eastern() -> datetime:
"""Current wall-clock time in US/Eastern as a naive datetime."""
return datetime.now(tz=EASTERN).replace(tzinfo=None)