WarUI

Locale-aware date and time parsing in editors and filters

GRID-A24-F10P1beyond-baselinePlanned

Typed date and time input is read according to the field order, separators, month names and hour cycle of the active locale. The parser derives the locale pattern from formatToParts instead of using hardcoded masks. Filters also accept relative keywords such as 'today', translated through the catalog.

Planned. This page shows the specification from issue #204. The live example, source for every framework and the API reference replace it when the feature ships.

Live example

An editable date column and a date filter row, locale 'en-US', with a log panel showing parsed ISO values.

Expected behavior

The same input text produces different ISO results depending on locale. Localized month names ('mars', '3月') are accepted. Translated relative keywords are recognized in the filter.

Planned API surface

parseDate(text, locale, options)column.dateParserfilter keyword catalog keystwoDigitYearPivot

Acceptance criteria

  • Field order is derived from Intl.DateTimeFormat.formatToParts. (pending)
  • Unambiguous ISO 8601 input is accepted in every locale. (pending)
  • Two-digit years are resolved using the pivot. (pending)
  • Invalid input produces a translated error and the stored value is not changed. (pending)