Skip to content

Treat timezone-less API timestamps as UTC - #10

Merged
rogerdemello merged 1 commit into
mainfrom
fix/utc-timestamps
Nov 17, 2026
Merged

rogerdemello merged 1 commit into
mainfrom
fix/utc-timestamps

Conversation

@rogerdemello

Copy link
Copy Markdown
Owner

New proposals showed as 'about 6 hours ago' in India: the database returns timestamps without a timezone suffix and browsers read them as local time. Normalize them to UTC in the API client.

Type-check shows the same 3 errors in src/api/analyze.ts with and without this change.

🤖 Generated with Claude Code

New proposals showed as 'about 6 hours ago' in India because the database
returns timestamps without a timezone suffix and browsers read them as local time.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings November 17, 2026 12:12

Copilot AI left a comment

Copy link
Copy Markdown

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 insufficient remaining quota. Try requesting a review at a lower effort level.

@rogerdemello
rogerdemello merged commit 268598e into main Nov 17, 2026
2 checks passed
rogerdemello added a commit that referenced this pull request Nov 27, 2026
New proposals showed as 'about 6 hours ago' in India because the database
returns timestamps without a timezone suffix and browsers read them as local time.
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.

2 participants