Skip to content

fix(gmail): use configured timezone for Date header (#472)#514

Open
dinakars777 wants to merge 1 commit intosteipete:mainfrom
dinakars777:fix-gmail-send-timezone
Open

fix(gmail): use configured timezone for Date header (#472)#514
dinakars777 wants to merge 1 commit intosteipete:mainfrom
dinakars777:fix-gmail-send-timezone

Conversation

@dinakars777
Copy link
Copy Markdown

Fixes #472.

Instead of directly invoking time.Now().Format() using the system's runtime timezone, we now properly fetch the globally configured timezone through getConfiguredTimezone. This ensures the Date header correctly aligns with the application-wide explicit configuration and falls back to time.Local correctly if not set, avoiding the +0900 timezone delivery misconfiguration.

Fixes steipete#472

Instead of directly invoking time.Now().Format() using the system timezone,
we now fetch the globally configured timezone through getConfiguredTimezone, ensuring
the Date header format properly aligns with explicit configuration and avoids the +0900 issue.
@dinakars777 dinakars777 force-pushed the fix-gmail-send-timezone branch from 21a541e to 05e427c Compare April 21, 2026 05:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] gmail send --reply-to sets wrong timezone (+0900) in Date header causing delivery failure

1 participant