You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[EuiSuperDatePicker] Date validation is not locale aware #7704
The date string at the bottom of the absolute tab changes with respect to a locale such as ja-JP. However, the date string fails to pass validation unless rewriting it in the en locale.
Here is a GIF animation showing the validation failure on Kibana 8.12.2 with i18n.locale: ja-JP. Both 3月 and 4月 are valid MMM in Japanese, but EuiSuperDatePicker accepts neither. It accepts only MMM in English, such as Apr.
Impact and severity
The impact is probably limited because only non-English locales make this observable. The workaround is to rewrite the date string in English manually.
Environment and versions
EUI version: 94.1.0 (main branch)
React version: 18.2.0
Kibana version: at least 8.11.0+
Browser: Chrome Version 123.0.6312.124 (Official Build) (64-bit)
Operating System: Windows 11 10.0.22621 N/A Build 22621
Activity