Entity dates don't save properly #10871
Labels
bug report
duplicate
Issue: Format is valid
Gate 1 Passed. Automatic verification of issue format passed
Uh oh!
There was an error while loading. Please reload this page.
Preconditions
Steps to reproduce
Expected result
Actual result
There also is a javascript error whenever a date object tries to be instanciated: Error creating Date object from string.
After a bit of debugging it looks like the jquery-ui-timepicker-addon.js tries to instanciate a date object using the date format that belongs to the set adminhtml locale (DD-MM-YYYY in my case), it seems like the addon can't handle any date formats other than YYYY-MM-DD (which is understandable) but Magento injects a date using the corresponding date format for the set adminhtml locale, setting the adminhtml locale to en_US works fine.
This seems to happen to every date field there is.
The text was updated successfully, but these errors were encountered: