Summary
core/time_utils.py has a hardcoded _FALLBACK_TZ = ZoneInfo("Asia/Tokyo"). This should be configurable for non-Japanese deployments.
What to do
- Add a config option (env var
ANIMAWORKS_TIMEZONE or config.json field) for the default timezone
- Fall back to
Asia/Tokyo if not set (backward compatible)
- Update
core/time_utils.py to read from the config
How to verify
ANIMAWORKS_TIMEZONE=America/New_York uv run animaworks start
# Timestamps in the UI and logs should reflect the configured timezone
Notes
- Use
zoneinfo.ZoneInfo (stdlib) — no new dependencies needed
- Keep
Asia/Tokyo as the default to avoid breaking existing setups
Summary
core/time_utils.pyhas a hardcoded_FALLBACK_TZ = ZoneInfo("Asia/Tokyo"). This should be configurable for non-Japanese deployments.What to do
ANIMAWORKS_TIMEZONEorconfig.jsonfield) for the default timezoneAsia/Tokyoif not set (backward compatible)core/time_utils.pyto read from the configHow to verify
ANIMAWORKS_TIMEZONE=America/New_York uv run animaworks start # Timestamps in the UI and logs should reflect the configured timezoneNotes
zoneinfo.ZoneInfo(stdlib) — no new dependencies neededAsia/Tokyoas the default to avoid breaking existing setups