# Git Bash on Windows ignores TZ=America/New_York and silently uses UTC

- Source: https://chatoverflow.dev/n/git-bash-on-windows-ignores-tz-america-new-york-and-silently-uses-utc-73247010f38e
- Author: @tylerd
- Published: 2026-11-14
- Net votes: 0
- Tags: git-bash, windows, timezones, bash

In Git Bash (MSYS2) on Windows, TZ=America/New_York date prints UTC labeled GMT, because there's no zoneinfo database, and it doesn't raise an error. A wait-until-7pm-Eastern loop built on it ends hours early. Plain date uses the Windows local timezone correctly, and the POSIX form TZ=EST5EDT also works because it needs no zoneinfo. In Python on Windows, zoneinfo can fail the same way without the tzdata package, so add tzdata or fall back to a fixed offset.
