-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Magento 2.1.8 : Cart Rules + New Customer (Please enter a valid date) Locale AU #10754
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Could you please guide me what to do? |
I have the same problem this started after upgrading from CE2.17 to CE2.18 |
Seems to be a duplicate of #10580 (not closing as they both are |
@gilbertsohal, thank you for your report. |
@magento-engcom-team ohh great, Could you please confirm when you have plan to release patch. |
@magento-engcom-team Please provide commit id of fix so that we can apply the change. |
@magento-engcom-team are you able to provide details of the fix? I have the same problem with Magento 2.1.9 and since upgrading, it won't let me save or amend any cart price rules, nor other extensions where a date has to be entered. "Please Enter A Valid Date". (although I am UK Locale) |
@magento-engcom-team Same problem in 2.1.9, similar problem in add/edit product for "Set as New," researching if it's connected... Edit: Solution to add/edit "Set Product as New From" error found here -#10485 |
@magento-engcom-team Have you fixed this issue in ver 2.2.0? |
Is this bug is fixed ? real problem with start/end date for catalog rules, set as new from/to dates, dob customer when locale is not en_US. (ie fr_FR) |
@okorshenko Have you fixed this issue? |
Have you fixed this issue? I tried with fresh installation (2.1.9 AU) this issue still present in 2.1.9. Please help |
As a temporary fix for my store, I changed in admin “account settings” (found in top-right dropdown - where you set your admin username and password) the interface locale to English (United States).. this only changes the admin interface local (you can still have the front end store set as your local country interface (ie. Locale AU, or in my case UK locale).. After I did this - now the date inputs work fine when setting cart rules / new product dates / sale price dates etc.. it’s not ideal but it worked for me.. |
@magento-engcom-team @orlangur Have you fixed this issue? I still facing same issue in 2.1.10 Please help? |
Magento 2.2 updated in December still have this bug. And have another many bugs associated by dates, like filters, entire marketing modulo, from to in catalog module... |
Hi @gilbertsohal. Thank you for your report. The fix will be available with the upcoming 2.3.0 release. |
I tried this commit. It doesn't work for me for the case described in this issue. |
Hi @engcom-backlog-nazar. Thank you for working on this issue.
|
Hi @gilbertsohal The issue was re-tested and we can confirm that it was fixed on the 2.3 release branch. We closing this issue as fixed due to upcoming 2.3 release that will be available soon. |
Preconditions
Steps to reproduce
Set Locale AU
Stores > Configuration >General > General > Locale Options
Set Default Country to Australia and Locale to AU
Step 1 Screenshot
https://prnt.sc/ggek4e
Admin > Account Settings > My Account > Account Information
Set Interface Locale to English Australia
Step 2 Screenshot
https://prnt.sc/ggelkj
Stores > Configuration >Catalog > Catalog >Date & Time Custom Options
Use JavaScript Calendar to Yes and Date Fields Order to dd/mm/yyyy
Step 3 Screenshot
https://prnt.sc/ggemrx
Date format working fine on frontend (dd/mm/yyyy)
Step 4 Screensho
https://prnt.sc/ggen57
DATE FORMAT NOT WORKING ON BACKEND
Cart Price Rules
Screenshot 1
If the date format is dd/mm/yyyy (29/09/2017)
https://prnt.sc/ggejfg
Screenshot 2
If the date format is mm/dd/yyyy (11/09/2017)
https://prnt.sc/ggep2u
New Customer
Add New Customer on Front-end date format is
(dd/mm/yyyy) 20/08/1981
Step1 Screenshot
https://prnt.sc/ggeqor
Go to Customers > All Customers > Edit
Step2 Screenshot
https://prnt.sc/ggero2
Go to Customers > All Customers > Edit > Customer Information > Account Information
Date of birth field showing Account Created date
Step3 Screenshot
https://prnt.sc/ggesad
Account Created date
Step4 Screenshot
https://prnt.sc/gget53
If you tried to change
Step5 Screenshot
https://prnt.sc/ggetiw
Expected result
Cart Price Rules
New Customer
Date of birth in list should be dd/mm/yyyy format
Step1 Screenshot
https://prnt.sc/ggero2
Date of birth should be original date of birth which capture from fronted (20/08/1981)
Step2 Screenshot
https://prnt.sc/gget53
Actual result
Cart Price Rules
Screenshot 1
If the date format is dd/mm/yyyy (29/09/2017)
https://prnt.sc/ggejfg
Screenshot 2
If the date format is mm/dd/yyyy (11/09/2017)
https://prnt.sc/ggep2u
New Customer
Add New Customer on Front-end date format is
(dd/mm/yyyy) 20/08/1981
Step1 Screenshot
https://prnt.sc/ggeqor
Go to Customers > All Customers > Edit
Step2 Screenshot
https://prnt.sc/ggero2
Go to Customers > All Customers > Edit > Customer Information > Account Information
Date of birth field showing Account Created date
Step3 Screenshot
https://prnt.sc/ggesad
Account Created date
Step4 Screenshot
https://prnt.sc/gget53
If you tried to change
Step5 Screenshot
https://prnt.sc/ggetiw
The text was updated successfully, but these errors were encountered: