Skip to content

Add endDate to launch Event structured data - #16

Merged
roma321m merged 1 commit into
mainfrom
feat/event-end-date
Oct 3, 2026
Merged

roma321m merged 1 commit into
mainfrom
feat/event-end-date

Conversation

@roma321m

@roma321m roma321m commented Oct 3, 2026

Copy link
Copy Markdown
Collaborator

What

  • Launch Event JSON-LD on the landing page gets endDate: the launch window end for timed launches, the same day for day-precision launches.
  • No endDate when the window end is unknown or before the launch time.

Why
Search Console flagged the Events as missing endDate. performer and offers are left out on purpose: a launch has neither, and making them up would be misleading markup.

Verification

  • node --test test/page.test.ts: 27 pass; npm run typecheck clean.
  • Mutation checks: dropping the guard, >= to >, no day endDate, endDate = net, and removing the field all turn a test red.
  • npm run build on the 2026-10-01 snapshot: 3 events, all with endDate, none before startDate (e.g. 2026-10-05T08:16:00Z -> 2026-10-05T08:28:00Z, Dragonfly 2028-07-05 -> 2028-07-05).

🤖 Generated with Claude Code

Timed launches end at their launch window end; launches known only to the
day end on that day. Search Console flags Events without endDate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@roma321m
roma321m merged commit ab34ce6 into main Oct 3, 2026
1 check passed
@roma321m
roma321m deleted the feat/event-end-date branch October 3, 2026 11:07
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