Google Calendar plugin: fractional-second timestamps lose their explicit UTC offset
In plugins/omi-google-calendar-app/main.py at 9ff63a6, parse_datetime preserves an explicit offset when the input matches its strptime formats, but the ISO fallback strips tzinfo without converting the instant. The create/update handlers then attach timeZone: UTC to that naive wall time.
Executing the unchanged parser in isolation gives:
| Input | Parsed value |
|---|---|
2026-09-09T14:00:00+05:30 |
2026-09-09T14:00:00+05:30 |
2026-09-09T14:00:00.123+05:30 |
2026-09-09T14:00:00.123000 |
The second input denotes 08:30:00.123 UTC, but the constructed event payload labels 14:00:00.123 as UTC. Fractional precision should not change the instant by five and a half hours.
I propose a focused fix that preserves explicit ISO offsets consistently through parsing and create/update payload construction, with hermetic regression tests for positive/negative offsets, fractional/non-fractional seconds, UTC Z, date-only all-day inputs, and invalid inputs. Relative-date behavior, user timezone preferences, OAuth, auto-sync and the separate backend calendar integration would remain out of scope.
Verification so far: eight offline create/update payload checks using the unchanged production parser and both handlers, with request/auth/provider-response stubs. Positive and negative fractional offsets lose their timezone; non-fractional offset and date-only controls retain their existing behavior. The Calendar event contract requires a dateTime offset unless timeZone is specified. No live Google Calendar request, deployed reproduction, implementation or passing preflight claim. Searches of existing issues and PRs did not identify this exact plugin parser defect; #8312/#8495 touch the separate backend integration, and #6192 adds sync without changing this parser.
Is this standalone plugin still supported, and would you accept this scope as a paid bounty? @josancamon19, following the contribution guide's bounty-suggestion process, please confirm the cash reward and acceptance criteria before implementation. This is a bounty request, not an approved award.
Opened PR #13528. ISO offsets are converted to UTC wall time before attaching timeZone: UTC.