Skip to content

Comments

Replace event calendar#294

Closed
theMattCode wants to merge 2 commits intomainfrom
fix/eventlist-jsx
Closed

Replace event calendar#294
theMattCode wants to merge 2 commits intomainfrom
fix/eventlist-jsx

Conversation

@theMattCode
Copy link
Owner

No description provided.

@vercel
Copy link

vercel bot commented May 28, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
svw-web-app ❌ Failed (Inspect) May 28, 2025 9:32am

Introduces a new API endpoint at `/api/events/upcoming`.

This endpoint returns a JSON array of event calendar entries that are
scheduled to start on the current day or in the future.
The events are sorted by their start date in ascending order.

The implementation fetches all event data, converts date strings to
Date objects for accurate comparison, filters out past events,
and then sorts the remaining upcoming events before returning them.
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