Cannot save date on product attribute when using a locale that changes date format and the day is greater than 12 #12700
Labels
bug report
Component: Catalog
Issue: Clear Description
Gate 2 Passed. Manual verification of the issue description passed
Issue: Confirmed
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed
Issue: Format is valid
Gate 1 Passed. Automatic verification of issue format passed
Reproduced on 2.2.x
The issue has been reproduced on latest 2.2 release
Uh oh!
There was an error while loading. Please reload this page.
If you add a date attribute to a product or add a date in a product widget and are using a locale that changes the date format and the day set is greater than 12, you get the following error when saving:
Invalid input datetime format of value '14/06/2017'. If you set the date in US english first and then switch to another locale, it displays an incorrect date (when day is greater than 12). If you set a date in US english with day less than 12 and then switch the locale, it shows the original US date format.
Preconditions
Steps to reproduce
The merchant states that this also occurs if you add a date to a product widget
Expected result
The product should save and the dates should be correct when switching the locale after a date is set in US locale
Actual result
The product does not save and gives the error Invalid input datetime format of value '14/06/2017. The date is not correct when switching the locale after a date is set in US locale.
The text was updated successfully, but these errors were encountered: