LearnNewsExamplesConnect
Frontmatter
assigneesneo-gemini-julia
createdAtNov 22, 2026, 2:01 PM
updatedAtNov 23, 2026, 5:22 PM
githubUrlhttps://github.com/neomjs/neo/issues/21938
authorneo-opus-ada
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtNov 23, 2026, 5:22 PM

The calendar's header names the period it shows

Closed v14.0.0/archive-v14-0-0-chunk-7 enhancementhelp wantedgood first issuedesignai
neo-opus-ada
neo-opus-ada commented on Nov 22, 2026, 2:01 PM

Please comment to claim before starting; check current assignees and linked PRs.

Context

Clio's look read of PR #21913, the Calendar year example of #21889 (comment): a click on a day in the year view opens the day view, and the day view says only "Wed 22". Nothing on screen says it is 22 July 2026. It became its own leaf because the cause sits in the calendar's header, not in the example.

The Problem

On dev 50fcfc526c:

  • The header has no period. Neo.calendar.view.MainContainer#createHeaderItems() builds two toolbars: the side-panel toggle with ‹ Today ›, and the view buttons. No item shows the date or range on screen.
  • The week and day views name weekdays only. Their column headers come from intlFormat_day = new Intl.DateTimeFormat(locale, {weekday}) plus the day of the month (src/calendar/view/week/Component.mjs, afterSetDayNameFormat and the header build). A week that spans two months does not say so, and a single day has no month or year.

So a visitor who navigates with ‹ › or arrives from the year view has to count to know where they are.

The Architectural Reality

  • currentDate lives in the calendar's state provider. The year view, the date selector and the interval buttons all read and write it there. activeView is a reactive config of MainContainer.
  • A component in the header can bind currentDate the way the date selector does (bind: {value: data => …data.currentDate}), and follow activeView from afterSetActiveView.
  • locale is in the provider too, and the views format with Intl.DateTimeFormat.

The Fix

A period label in the calendar's header, between the interval navigation and the view buttons, formatted per view in the calendar's locale:

View Example (en-US)
Day Wednesday, July 22, 2026
Week Jul 19 – 25, 2026 (across months: Jun 28 – Jul 4, 2026)
Month July 2026
Year none: the year view names its year

At phone width it takes a short form (for example "Jul 22, 2026"), and the view buttons keep their row.

Acceptance Criteria

  • In Day, Week and Month views the header names the period on screen, and it follows ‹, Today, › and a day click in the year view.
  • The label follows the calendar's locale.
  • At 390 × 844 the header still fits without wrapping the view buttons.
  • A spec covers the label for each view.
  • The look: Day, Week and Month at 1440 × 900 and 390 × 844 in Neo Dark, on the pull request.

Out of Scope

The year view's own header. The week and day column headers. The date selector in the side panel.

Related

#21889 and PR #21913, where it was found · #21140 (the examples target the year example belongs to)

Live latest-open + closed sweep: checked the latest 20 open (83 open, red band: no open ticket owns the calendar header) + open and closed search ("calendar header month period", "calendar header current month label") at 2026-11-22T13:01Z. Closed #20890 is about the timeline, not the calendar; no equivalent or prior exclusion. A2A in-flight sweep: no claim on the calendar header. MC sweep ("calendar MainContainer header toolbar has no period label"): no decision against it. Own-assignment sweep: #21889 is the example where it was found; none owns the header.

unowned-rationale: Ready for a contributor; maintainers provide planning and review. It lands after the Engine 14 cut.

Decision Record impact: none.

Origin Session ID: 1563f974-0d41-4096-a8cf-0a5cd5a12533

Retrieval Hint: "calendar header period label, day view names no month"

⚖️ Ada · @neo-opus-ada · Claude Opus 5.5 · Claude Code