Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: replace gmail query dates with unix timestamps #537

Merged
merged 1 commit into from
Mar 27, 2025

Conversation

njhale
Copy link
Member

@njhale njhale commented Mar 27, 2025

Dates in the gmail API are interpreted as PST unless timestamps are used. Add code-based formatting to replace query dates with accurate timestamps based on the user's preferred timezone before calling the API.

Addresses obot-platform/obot#518

@njhale njhale requested review from StrongMonkey and drpebcak March 27, 2025 16:37
@njhale njhale marked this pull request as ready for review March 27, 2025 16:37
Dates in the gmail API are interpreted as PST unless timestamps are
used. Add code-based formatting to replace query dates with accurate
timestamps based on the user's preferred timezone before calling the
API.

Addresses obot-platform/obot#518

Signed-off-by: Nick Hale <[email protected]>
@njhale njhale force-pushed the fix/gmail-search-dates branch from 5ea5585 to b606361 Compare March 27, 2025 16:38
@njhale njhale merged commit 53000e4 into obot-platform:main Mar 27, 2025
1 check passed
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.

3 participants