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
With the fix, the display format is not properly parsable by Date in some locales, while it's a good human readable format the month names are localized and then do not parse properly eg in fr
new Date('décembre 11, 2024 12:00') // Invalid date
I guess we would need to replace the month names in the current locale into the en locale before parsing it or remove the accents
new Date('décembre 11, 2024 12:00'.normalize("NFD").replace(/[\u0300-\u036f]/g, "")) // Wed Dec 11 2024 12:00:00 GMT+0100 (heure normale d’Europe centrale)
Steps to reproduce
Add a datepicker field
Edit the input field manually
Notice how the date picker picked up the edit
Click save
Reload the page
The field is back to it's original value
It works properly when editing via the Date picker and not the input
The text was updated successfully, but these errors were encountered: