Describe the bug
#1504 is closed but this seems to be an issue still.
Affected version
gh version 2.95.0 (2026-06-17)
https://github.com/cli/cli/releases/tag/v2.95.0
Steps to reproduce the behavior
- TZ=UTC gh pr merge N --squash
- See timezone offset in git log
Expected vs actual behavior
Respect "TZ" env variable. Timezone offset should be "00:00" with TZ=UTC
A little off topic but can timezone be changed in GitHub Web? And if yes, would it affect timezone that github-cli will use?
Describe the bug
#1504 is closed but this seems to be an issue still.
Affected version
gh version 2.95.0 (2026-06-17)
https://github.com/cli/cli/releases/tag/v2.95.0
Steps to reproduce the behavior
Expected vs actual behavior
Respect "TZ" env variable. Timezone offset should be "00:00" with TZ=UTC
A little off topic but can timezone be changed in GitHub Web? And if yes, would it affect timezone that github-cli will use?