Skip to content

Schedules redesign 2/5: i18n infrastructure and generic utilities#3549

Merged
tegan-temporal merged 1 commit into
feature/schedulesfrom
tegan/schedules-pr2-i18n-utils
Jun 15, 2026
Merged

Schedules redesign 2/5: i18n infrastructure and generic utilities#3549
tegan-temporal merged 1 commit into
feature/schedulesfrom
tegan/schedules-pr2-i18n-utils

Conversation

@tegan-temporal

Copy link
Copy Markdown
Contributor

Description & motivation 💭

Second of five PRs splitting the schedules redesign into reviewable pieces, all targeting feature/schedules. Independent of PR 1 (#3548) — these can merge in either order.

  • New format-date-names.ts: Intl-based localized weekday/month name helpers
  • New format-list.ts: Intl.ListFormat wrapper for natural-language lists
  • i18n/index.ts: expanded plural type suffixes and ordinal support in I18nReplace
  • en/common.ts: new shared strings (dates, meridiem, ordinals, timezone label); removes the unused timezone key (zero consumers)
  • New utilities/array.ts (sortNumbers)
  • en/workflows.ts: minor wording fix for the signal payload hint

The schedule summary engine in PR 3 consumes these.

Testing 🧪

How was this tested 👻

  • Manual testing
  • E2E tests added
  • Unit tests added

pnpm check 0 errors, pnpm lint 0 errors, 2,035 unit tests passing. The new helpers get their test coverage indirectly through the summarize tests landing in PR 3.

Steps for others to test: 🚶🏽‍♂️🚶🏽‍♀️

No user-visible changes; the new utilities are unused until PR 3.

Checklists

Merge Checklist

  • Merges into feature/schedules (not main)

🤖 Generated with Claude Code

Adds date-name and list Intl formatters, ordinal plural support in the
i18n replace types, new common locale strings, and a sortNumbers array
utility. Removes the unused common.timezone key.

Co-Authored-By: Claude Fable 5 <[email protected]>
@tegan-temporal
tegan-temporal requested a review from a team as a code owner June 11, 2026 17:57
@vercel

vercel Bot commented Jun 11, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
holocene Ready Ready Preview, Comment Jun 11, 2026 5:58pm

Request Review

@tegan-temporal
tegan-temporal merged commit b8a4142 into feature/schedules Jun 15, 2026
12 checks passed
@tegan-temporal
tegan-temporal deleted the tegan/schedules-pr2-i18n-utils branch June 15, 2026 20:43
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.

2 participants