Skip to content

Unable to save any dates if the user interface locale is not english (US) in 2.3.1 #22964

Closed
@ioweb-gr

Description

@ioweb-gr

Preconditions (*)

  1. Magento 2.3.1
  2. A user with interface locale set to Greek

Steps to reproduce (*)

  1. Create a product using the user that has interface locale set to Greek.
  2. Add any date value, news_from_date, news_to_date, special_price_from_date, special_price_to_date
  3. Save the product

Expected result (*)

  1. The product is saved correctly with the new date.

Actual result (*)

  1. Error that says invalid date Invalid input datetime format of value '22/5/2019'

image

I've found other references in other issues that are closed saying this problem was fixed but unfortunately I'm on 2.3.1 and the issue persists. There's no real solution or workaround yet for this. Apparently it's not just Greek locale but other locales as well.

The bug has been acknowledged in the past, added to backlog even but years later we still face the same issue from version 2.1 to 2.3.1

Unless Magento is operating in a country where the users speak english natively it's pretty much pointless to use Magento if this is not fixed. I opened a new issue for this because any messages in closed issues get burried and never watched upon.

I'm hoping someone who understands the inner workings of this date format validation will pay attention to this or else the biggest question we'll have to ask any potential customer before choosing a platform will pretty much be: "Are you fluent in English?"

PS: at least if you could provide an official way to workaround this or what to change until it's fixed it would be completely fine so we can at least use the platform.

Metadata

Metadata

Labels

Component: CatalogComponent: Framework/StdlibFixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: 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 passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.3.xThe issue has been reproduced on latest 2.3 releaseReproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchgood first issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions