Skip to content

fix: normalize calendar list event start dates#8700

Open
Success6666 wants to merge 2 commits into
agno-agi:mainfrom
Success6666:fix-calendar-list-events-timezone
Open

fix: normalize calendar list event start dates#8700
Success6666 wants to merge 2 commits into
agno-agi:mainfrom
Success6666:fix-calendar-list-events-timezone

Conversation

@Success6666

Copy link
Copy Markdown
Contributor

Summary

  • normalize timezone-aware list_events start dates to UTC before sending timeMin
  • keep naive ISO start dates treated as UTC to preserve current behavior
  • add regression coverage for timezone-aware and naive start dates

Fixes #8670.

Tests

  • .venv\Scripts\python.exe -m pytest libs\agno\tests\unit\tools\test_google_calendar.py -q
  • .venv\Scripts\ruff.exe check libs\agno\agno\tools\google\calendar.py libs\agno\tests\unit\tools\test_google_calendar.py
  • git diff --check

@Success6666 Success6666 requested a review from a team as a code owner July 2, 2026 03:42
Copilot AI review requested due to automatic review settings July 2, 2026 03:42

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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] GoogleCalendarTools.list_events shifts timezone-aware start_date by labeling local time as UTC

3 participants