Skip to content

fix: prevent event dates from shifting across timezones - #19174

Merged
SandeepVashishtha merged 1 commit into
SandeepVashishtha:masterfrom
inshu5757:fix/event-date-timezone
Nov 3, 2026
Merged

SandeepVashishtha merged 1 commit into
SandeepVashishtha:masterfrom
inshu5757:fix/event-date-timezone

Conversation

@inshu5757

Copy link
Copy Markdown
Contributor

Description

#fixed 19099
Fixes an issue where event and hackathon dates could display the wrong day due to timezone conversion.

  • Added shared date formatting utilities in src/lib/dateUtils.js.
  • Ensured date-only and timezone-less timestamps are consistently interpreted and formatted in UTC.
  • Updated event and hackathon cards, detail pages, analytics, and drawer components to use the shared utilities.
  • Preserved existing fallback values when dates are unavailable.

Closes #19099

Type of change

  • Bug fix
  • New feature
  • Refactor / code quality
  • Documentation
  • CI / tooling

Screenshots

Not applicable — this change fixes date formatting logic without introducing a UI redesign.

Checklist

  • npm run lint passes with no errors
  • npm run build succeeds
  • The CI check on this PR is green
  • I have tested my changes locally

@vercel

vercel Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

@inshu5757 is attempting to deploy a commit to the sandeepvashishtha's projects Team on Vercel.

A member of the Team first needs to authorize it.

@codescene-access codescene-access Bot 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.

No quality gates enabled for this code.

See analysis details in CodeScene

Quality Gate Profile: Custom Configuration
Install CodeScene MCP: safeguard and uplift AI-generated code. Catch issues early with our IDE extension and CLI tool.

@vercel

vercel Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
eventra Ready Ready Preview Nov 3, 2026 3:07am UTC

@SandeepVashishtha
SandeepVashishtha merged commit 8cf639f into SandeepVashishtha:master Nov 3, 2026
4 checks passed

This branch was successfully deployed

1 active deployment
Preview — 842b512d Deployed Nov 3, 2026 by vercel[bot]
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] Date-only event timestamps rendered in local TZ shift the day by one

2 participants