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
Switch date-fns format string to LLL do, yyyy 'at' K:mm a.
Select a date in the date picker.
Delete the 'A' from 'AM'.
Write the 'A' again.
Actual behavior
No date is highlighted in the date picker. Upon blurring the input (clicking elsewhere on the page), the textbox displays 'Invalid date'.
Expected behavior
The date should still be highlighted in the date picker, and when blurring the input, the date should not display as invalid.
The text was updated successfully, but these errors were encountered:
ConnorGyde
changed the title
DateInput errors on valid text input using AM/PM timeDateInput errors on valid text input when formatting using AM/PM time
Dec 2, 2024
Environment
Can be replicated using the example component found at https://blueprintjs.com/docs/#datetime2/date-input3. I'm using Firefox Developer Edition.
Steps to reproduce
date-fns
format string toLLL do, yyyy 'at' K:mm a
.Actual behavior
No date is highlighted in the date picker. Upon blurring the input (clicking elsewhere on the page), the textbox displays 'Invalid date'.
Expected behavior
The date should still be highlighted in the date picker, and when blurring the input, the date should not display as invalid.
The text was updated successfully, but these errors were encountered: