Skip to content

v0.1.4 — default timezone America/New_York + fix split-brain TZ

Choose a tag to compare

@ChrisSc ChrisSc released this 03 Jun 14:47
· 36 commits to main since this release

Changed

  • Default container timezone is now America/New_York (was America/Los_Angeles). Override per-host with the TZ env var, which compose.yaml threads into both the build arg and the runtime environment.

Fixed

  • Split-brain timezone: the base image set ENV TZ (honored by glibc CLI tools like date) but never configured /etc/localtime, so anything reading the system clock files — e.g. Python's datetime — silently fell back to Etc/UTC. The Dockerfile now installs tzdata and pins /etc/localtime + /etc/timezone from $TZ at build time so the env var and system files agree. A zone switch requires a rebuild (the zone is baked into /etc/localtime).

Documentation

  • README gains a "Timezone" section (override via TZ, rebuild caveat). CLAUDE.md documents the invariant: TZ lives in three places that must agree, and the clock is the host kernel's — no in-container NTP.

Full changelog: v0.1.3...v0.1.4