Summary
Currently gog gmail search and other commands output dates in UTC, regardless of the user's system timezone. This makes it harder to quickly scan email timestamps.
Current behavior
$ gog gmail search "in:inbox" --json | jq '.threads[0].date'
"2026-01-14 06:37" # UTC
Even though my system is configured for America/Los_Angeles:
$ readlink /etc/localtime
/var/db/timezone/zoneinfo/America/Los_Angeles
Proposed behavior
Either:
- Respect system timezone by default - Use
TZ env var or system timezone for output
- Add
--timezone flag - e.g., gog gmail search --timezone America/Los_Angeles
- Add
--local flag - Convert output to local timezone
Use case
When quickly scanning emails in the terminal, I want to see times that match my wall clock without mental UTC conversion.
Environment
- gog version: v0.6.0
- macOS 15 (Sequoia)
- System TZ: America/Los_Angeles
Summary
Currently
gog gmail searchand other commands output dates in UTC, regardless of the user's system timezone. This makes it harder to quickly scan email timestamps.Current behavior
Even though my system is configured for
America/Los_Angeles:Proposed behavior
Either:
TZenv var or system timezone for output--timezoneflag - e.g.,gog gmail search --timezone America/Los_Angeles--localflag - Convert output to local timezoneUse case
When quickly scanning emails in the terminal, I want to see times that match my wall clock without mental UTC conversion.
Environment