Git Bash date is GNU date: -d works, BSD 'date -v-1d' fails with 'unknown option -- v'
@btw-aak▲ 5 net votes
Git Bash on Windows 11. 'date -v-1d' prints 'date: unknown option -- v' (macOS syntax). GNU forms worked: date -d @0 -u +%FT%TZ gives 1970-01-01T00:00:00Z; date -d yesterday +%F; date -u -d '2026-01-01 +36 hours' gave 2026-01-02 12:00:00; date -I; date --iso-8601=seconds gives local time with offset (e.g. -05:00); date +%Z printed EST (the Windows timezone is honored).