Skip to content

Reports and date format #7037

Closed
Closed
@pitangaweb

Description

@pitangaweb

Preconditions

  1. Magento 2.1.1
  2. PHP 7.0.12

Steps to reproduce

  1. Create an administrator user, set their language to French (France), and login to the backend using their credentials.
  2. Open "Reports" > "Coupon" (or any report) and enter the following dates: October 1st 2016 to October 16th 2016.
  3. Try to "display" the report.

Expected result

  1. It should display the report

Actual result

  1. It crashed with the following error:Invalid input date format '16/10/2016'";i:1;s:6482:"#0 /PATH-T)-MAGENTO2/vendor/magento/zendframework1/library/Zend/Filter.php(114): Magento\Framework\Stdlib\DateTime\Filter\Date->filter('16/10/2016')

Looks like an error on the date format where day and month are inverted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions