Skip to content

Set product as new "from" and "to" not being interpreted correctly #10580

Closed
@gwharton

Description

@gwharton

Preconditions

  1. Magento 2.1.8 CE
  2. Locale set to GB

Steps to reproduce

  1. Create product
  2. Set product new from and new to dates to be 1st Aug 2017 to 1st Sep 2017

Expected result

  1. Product is listed as new in "New products Widget" if viewed during August 2017

Actual result

  1. Product is not listed as new in "New products Widget"
  2. Set product new from and new to dates to be 8th Jan 2017 to 9th Jan 2017
  3. 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

Metadata

Metadata

Assignees

Labels

Fixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedbug report

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions