Skip to content

fix: Clarify start_time format - no Z suffix#777

Merged
bokelley merged 2 commits into
mainfrom
bokelley/fix-meeting-timezone-z-suffix
Jan 15, 2026
Merged

fix: Clarify start_time format - no Z suffix#777
bokelley merged 2 commits into
mainfrom
bokelley/fix-meeting-timezone-z-suffix

Conversation

@bokelley

Copy link
Copy Markdown
Contributor

Summary

Claude was interpreting "11 AM ET" as "11 AM UTC" and adding Z suffix to the ISO string, causing meetings to be rejected as "already passed".

The bug: When user says "11 AM ET", Claude was outputting "2026-01-15T11:00:00Z" which means 11 AM UTC = 6 AM ET. At 9:45 AM ET, this is correctly identified as past.

The fix: Updated schema description to explicitly tell Claude to NOT add Z or timezone offsets - the timezone parameter handles timezone context.

Test plan

  • Ask Addie to schedule a meeting for a future time in ET
  • Verify Claude sends start_time without Z suffix
  • Verify meeting is created successfully

🤖 Generated with Claude Code

bokelley and others added 2 commits January 15, 2026 09:46
Claude was interpreting "11 AM ET" as "11 AM UTC" and adding Z suffix,
causing meetings to be rejected. Updated schema description to explicitly
tell Claude to NOT add Z or timezone offsets - the timezone parameter
handles that.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
CREATE INDEX CONCURRENTLY cannot run inside a transaction block.
Migrations run in transactions, so we need to use regular CREATE INDEX.
The slack_user_mappings table is small enough that the brief lock is fine.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@bokelley bokelley merged commit 2df7c04 into main Jan 15, 2026
6 checks passed
bokelley added a commit that referenced this pull request Jan 16, 2026
* fix: Clarify start_time format - no Z suffix

Claude was interpreting "11 AM ET" as "11 AM UTC" and adding Z suffix,
causing meetings to be rejected. Updated schema description to explicitly
tell Claude to NOT add Z or timezone offsets - the timezone parameter
handles that.

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

* fix: Remove CONCURRENTLY from migration 170

CREATE INDEX CONCURRENTLY cannot run inside a transaction block.
Migrations run in transactions, so we need to use regular CREATE INDEX.
The slack_user_mappings table is small enough that the brief lock is fine.

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
* fix: Clarify start_time format - no Z suffix

Claude was interpreting "11 AM ET" as "11 AM UTC" and adding Z suffix,
causing meetings to be rejected. Updated schema description to explicitly
tell Claude to NOT add Z or timezone offsets - the timezone parameter
handles that.

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

* fix: Remove CONCURRENTLY from migration 170

CREATE INDEX CONCURRENTLY cannot run inside a transaction block.
Migrations run in transactions, so we need to use regular CREATE INDEX.
The slack_user_mappings table is small enough that the brief lock is fine.

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