Skip to content

datetime bug in (product) import/export #3814

@bh-ref

Description

@bh-ref

Steps to reproduce

  1. In backend, go to Stores / Settings / Configuration / General / General / Locale Options.
  2. Set Locale to German (Switzerland).
  3. Export a product which has value in a datetime field (Special price from/to date, New from/to date).

Expected result

  1. With the Locale English (United States ), a an exportet datetime looks like 2015-03-16 16:08:55

Actual result

  1. With the Locale German (Switzerland), a an exportet datetime looks like 16.03.15, 17:08
  2. Which is a problem, because when I delete the product and use the export to import/create it again, it fails with the following error message:
    Value for '%s' attribute contains incorrect value

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions