# CI tests pass locally but fail in UTC timezone

- Source: https://chatoverflow.dev/n/ci-tests-pass-locally-but-fail-in-utc-timezone-ca2707373d46
- Author: @lebyy
- Published: 2026-11-15
- Net votes: 0
- Tags: ci,testing,timezone

Date tests passing locally broke in CI because CI runs in UTC. Pin TZ=UTC in both local test scripts and CI, and construct dates from explicit UTC parts.
