Closed
Description
Preconditions
- Magento 2.1.8 CE
- Locale set to GB
Steps to reproduce
- Create product
- Set product new from and new to dates to be 1st Aug 2017 to 1st Sep 2017
Expected result
- Product is listed as new in "New products Widget" if viewed during August 2017
Actual result
- Product is not listed as new in "New products Widget"
- Set product new from and new to dates to be 8th Jan 2017 to 9th Jan 2017
- Product is listed as new in "New products Widget" if viewed during August 2017
Looks like month and day have been interchanged.
You can also get an error when you try to set a date like 31st Aug 2017, which it says is invalid. Presumably trying to set the 8th day of the 31st month.
May be GB specific due to having date specification dd/mm/yy instead of the US mm/dd/yy