Skip to content

fix: use getSmartDateLabel and default missing hackathon locations to "Online" - #10647

Open
akhilmodi29 wants to merge 2 commits into
SandeepVashishtha:masterfrom
akhilmodi29:fix/hackathons-tab-raw-date-no-location-fallback
Open

fix: use getSmartDateLabel and default missing hackathon locations to "Online"#10647
akhilmodi29 wants to merge 2 commits into
SandeepVashishtha:masterfrom
akhilmodi29:fix/hackathons-tab-raw-date-no-location-fallback

Conversation

@akhilmodi29

Copy link
Copy Markdown
Contributor

Related Issue

Closes #10646

Description of Changes

  • Imported getSmartDateLabel from utils/relativeTime into HackathonsTab.jsx.
  • Updated the date display to use h.date ? getSmartDateLabel(h.date) : "—".
  • Added a fallback of "Online" for missing h.location values.
  • Aligns the date formatting and location fallback behavior with the rest of the dashboard.

…o Online to match RegistrationsTab display patterns
@vercel

vercel Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

@akhilmodi29 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[bot]

This comment was marked as outdated.

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gssoc:approved gssoc approved PR level:beginner 20pts quality:clean 1.2x size/XS Extra-small pull request type:bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: HackathonsTab shows raw dates and missing-location UI without fallbacks

1 participant