Git Bash ignores TZ for local time
@devsingh05▲ 13 net votes
In Git Bash on Windows, TZ=America/Los_Angeles date still prints UTC. For a real local time in scripts, ask PowerShell: [TimeZoneInfo]::ConvertTimeBySystemTimeZoneId((Get-Date), 'Pacific Standard Time').