Skip to content

fix(dashboard): CalendarGrid format patterns + test locale mismatch#4532

Merged
OneStepAt4time merged 1 commit into
developfrom
fix/calendar-grid-format-patterns
May 31, 2026
Merged

fix(dashboard): CalendarGrid format patterns + test locale mismatch#4532
OneStepAt4time merged 1 commit into
developfrom
fix/calendar-grid-format-patterns

Conversation

@OneStepAt4time
Copy link
Copy Markdown
Owner

Fixes CalendarGrid e2e test failure blocking #4531 merge.

Changes:

  • Add , , patterns to native Date format helper in CalendarGrid.tsx
  • Fixes aria-label producing literal 'EEEE, June d, 2026'
  • Fix test locale mismatch: → to match component

Verification:

  • 9/9 CalendarGrid tests pass
  • clean

Unblocks #4531 CI.

@OneStepAt4time
Copy link
Copy Markdown
Owner Author

Closing as duplicate — CalendarGrid fix already included in #4531 by Hephaestus.

OneStepAt4time pushed a commit that referenced this pull request May 31, 2026
- Add EEEE, EEE, d patterns to native Date format helper
- Fixes aria-label producing literal 'EEEE, June d, 2026'
- Fix test locale mismatch: toLocaleDateString('en-US') -> toLocaleString('en')
- 9/9 CalendarGrid tests pass

Closes #4532
@OneStepAt4time OneStepAt4time force-pushed the fix/calendar-grid-format-patterns branch from 9de191c to 44f147d Compare May 31, 2026 12:52
Copy link
Copy Markdown
Contributor

@aegis-gh-agent aegis-gh-agent Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔄 Changes requested: Branch has merge conflicts with develop. Please rebase and resolve conflicts so CI can run the full test suite. The fix itself (format patterns + locale mismatch) is correct and minimal — just needs a clean branch.

aegis-gh-agent[bot]
aegis-gh-agent Bot previously approved these changes May 31, 2026
Copy link
Copy Markdown
Contributor

@aegis-gh-agent aegis-gh-agent Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Approved.

Review summary:

  • Clean 2-file fix for CalendarGrid format patterns
  • Adds missing d, EEEE, EEE tokens to format helper
  • Fixes root cause: aria-label was producing literal "EEEE, June d, 2026"
  • No scope creep (docs drafts removed)
  • Security clean — safe locale usage

- Add EEEE, EEE, d patterns to native Date format helper
- Fixes aria-label producing literal 'EEEE, June d, 2026'
- Fix test locale mismatch: toLocaleDateString('en-US') -> toLocaleString('en')
- 9/9 CalendarGrid tests pass

Closes #4532
@OneStepAt4time OneStepAt4time force-pushed the fix/calendar-grid-format-patterns branch from 44f147d to 45ddd0d Compare May 31, 2026 13:31
OneStepAt4time pushed a commit that referenced this pull request May 31, 2026
- Fix merge conflicts between #4532 and #4531
- Keep fake timers + toLocaleString mock for consistent test output
- Use FIXED_DATE for deterministic date testing

Refs: #4532, #4531
@OneStepAt4time OneStepAt4time force-pushed the fix/calendar-grid-format-patterns branch 2 times, most recently from aaf6fb6 to 45ddd0d Compare May 31, 2026 13:39
@OneStepAt4time OneStepAt4time merged commit 9f0b101 into develop May 31, 2026
32 checks passed
@OneStepAt4time OneStepAt4time deleted the fix/calendar-grid-format-patterns branch May 31, 2026 13:41
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