Skip to content

fix: Strip Z suffix from Zoom meeting start_time#779

Merged
bokelley merged 1 commit into
mainfrom
bokelley/fix-zoom-timezone
Jan 15, 2026
Merged

fix: Strip Z suffix from Zoom meeting start_time#779
bokelley merged 1 commit into
mainfrom
bokelley/fix-zoom-timezone

Conversation

@bokelley

Copy link
Copy Markdown
Contributor

Summary

Fixes Zoom meetings being scheduled 5 hours early (6 AM instead of 11 AM ET).

Problem

When creating Zoom meetings, toISOString() was adding a Z suffix which made Zoom interpret times as UTC instead of the specified timezone.

Example: User requested "11 AM ET" → Meeting scheduled for 11:00 UTC = 6:00 AM ET

Solution

Strip the Z suffix and milliseconds from the ISO string so Zoom interprets the time using the timezone parameter:

// Before: "2026-01-15T11:00:00.000Z" (interpreted as UTC)
// After:  "2026-01-15T11:00:00" (interpreted in specified timezone)

Test plan

  • Schedule a meeting via Addie for "11 AM ET"
  • Verify Zoom meeting shows 11:00 AM ET (not 6:00 AM)

🤖 Generated with Claude Code

When creating Zoom meetings, toISOString() was adding a Z suffix which
made Zoom interpret times as UTC instead of the specified timezone.

Example: "11 AM ET" was scheduled for 11:00 UTC = 6:00 AM ET

Fix: Strip the Z suffix so Zoom interprets the time using the timezone
parameter (America/New_York).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@bokelley bokelley merged commit 7abdb76 into main Jan 15, 2026
6 checks passed
bokelley added a commit that referenced this pull request Jan 15, 2026
Applied the same timezone fix to Google Calendar events that was applied to
Zoom meetings in PR #779. The Z suffix was causing Google Calendar to
interpret times as UTC, resulting in meetings showing 5 hours earlier than
intended for ET.

Renamed formatDateForZoom to formatDateWithoutZ since it's now used for both
Zoom and Google Calendar.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
bokelley added a commit that referenced this pull request Jan 15, 2026
* fix: Accept both UUID and Zoom meeting IDs in meeting tools

- Show meeting ID in list_upcoming_meetings output so Claude can see it
- Update get_meeting_details to try UUID first, then Zoom meeting ID
- Update rsvp_to_meeting to try UUID first, then Zoom meeting ID
- Update cancel_meeting to try UUID first, then Zoom meeting ID
- Update add_meeting_attendee to try UUID first, then Zoom meeting ID

This fixes the issue where Claude would try to use Zoom meeting IDs from
meeting links but the tools only accepted our internal UUIDs.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* fix: Strip Z suffix from Google Calendar dateTime to fix timezone

Applied the same timezone fix to Google Calendar events that was applied to
Zoom meetings in PR #779. The Z suffix was causing Google Calendar to
interpret times as UTC, resulting in meetings showing 5 hours earlier than
intended for ET.

Renamed formatDateForZoom to formatDateWithoutZ since it's now used for both
Zoom and Google Calendar.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
bokelley added a commit that referenced this pull request Jan 16, 2026
When creating Zoom meetings, toISOString() was adding a Z suffix which
made Zoom interpret times as UTC instead of the specified timezone.

Example: "11 AM ET" was scheduled for 11:00 UTC = 6:00 AM ET

Fix: Strip the Z suffix so Zoom interprets the time using the timezone
parameter (America/New_York).

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
bokelley added a commit that referenced this pull request Jan 16, 2026
* fix: Accept both UUID and Zoom meeting IDs in meeting tools

- Show meeting ID in list_upcoming_meetings output so Claude can see it
- Update get_meeting_details to try UUID first, then Zoom meeting ID
- Update rsvp_to_meeting to try UUID first, then Zoom meeting ID
- Update cancel_meeting to try UUID first, then Zoom meeting ID
- Update add_meeting_attendee to try UUID first, then Zoom meeting ID

This fixes the issue where Claude would try to use Zoom meeting IDs from
meeting links but the tools only accepted our internal UUIDs.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* fix: Strip Z suffix from Google Calendar dateTime to fix timezone

Applied the same timezone fix to Google Calendar events that was applied to
Zoom meetings in PR #779. The Z suffix was causing Google Calendar to
interpret times as UTC, resulting in meetings showing 5 hours earlier than
intended for ET.

Renamed formatDateForZoom to formatDateWithoutZ since it's now used for both
Zoom and Google Calendar.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
bokelley added a commit that referenced this pull request Jan 20, 2026
When creating Zoom meetings, toISOString() was adding a Z suffix which
made Zoom interpret times as UTC instead of the specified timezone.

Example: "11 AM ET" was scheduled for 11:00 UTC = 6:00 AM ET

Fix: Strip the Z suffix so Zoom interprets the time using the timezone
parameter (America/New_York).

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
bokelley added a commit that referenced this pull request Jan 20, 2026
* fix: Accept both UUID and Zoom meeting IDs in meeting tools

- Show meeting ID in list_upcoming_meetings output so Claude can see it
- Update get_meeting_details to try UUID first, then Zoom meeting ID
- Update rsvp_to_meeting to try UUID first, then Zoom meeting ID
- Update cancel_meeting to try UUID first, then Zoom meeting ID
- Update add_meeting_attendee to try UUID first, then Zoom meeting ID

This fixes the issue where Claude would try to use Zoom meeting IDs from
meeting links but the tools only accepted our internal UUIDs.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* fix: Strip Z suffix from Google Calendar dateTime to fix timezone

Applied the same timezone fix to Google Calendar events that was applied to
Zoom meetings in PR #779. The Z suffix was causing Google Calendar to
interpret times as UTC, resulting in meetings showing 5 hours earlier than
intended for ET.

Renamed formatDateForZoom to formatDateWithoutZ since it's now used for both
Zoom and Google Calendar.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
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.

1 participant