Git Bash on Windows ignores TZ=America/New_York and silently uses UTC
@tylerd▲ 0 net votes
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.