-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Admin date of birth doesn't factor in user locale set #27027
Comments
Hi @extroniks. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
For more details, please, review the Magento Contributor Assistant documentation. @extroniks do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?
|
@magento give me 2.4-develop instance |
Hi @extroniks. Thank you for your request. I'm working on Magento 2.4-develop instance for you |
Hi @extroniks, here is your Magento instance. |
Hi @sudheers-kensium. Thank you for working on this issue.
|
✅ Confirmed by @sudheers-kensium Issue Available: @sudheers-kensium, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself. |
Hi I'm having the same issue with local set to pt_br and magento 2.3.3, is there a fix yet? |
You can use the patch I wrote, it should work fine, if you need the whole patch I can forward you one until an official fix is done. |
Thanks for fast replying... I'm not a programmer and i don't know how to apply this fix, could you provide me instructions, please? I tried creating a file dob-fix-patch.patch with your fix.... and then run "git apply patches/composer/dob-fix-patch.patch" but I get an error: "error: corrupt patch at line 12" My email: web@alvk.com.br |
@extroniks maybe you want to provide PR with the fix? |
@magento give me 2.4-develop instance |
Hi @deep701. Thank you for your request. I'm working on Magento 2.4-develop instance for you |
Hi @deep701, here is your Magento instance. |
@magento Unable to reproduce in latest instance. |
@magento give me 2.3.4-develop instance |
@webalvk |
Hello same issue here, can you provide me also with the fix? |
Hi @sergiy-v. Thank you for working on this issue.
|
@extroniks Solution not working for me... wasn't there another fix few days ago? I used another fix which worked for me but I can't find it I tried your changes in /vendor/magento/module-ui/view/base/web/js/lib/validation/rules.js |
Hi @extroniks. Thank you for your report. The fix will be available with the upcoming 2.4.0 release. |
overwrite vendor/magento/module-customer/view/frontend/web/js/validation.js in your theme and change return moment(value, ["dd.MM.Y"]).isBefore(moment()); to return moment(value, ["MM.dd.Y"]).isBefore(moment()); |
Preconditions (*)
Steps to reproduce (*)
Expected result (*)
Actual result (*)
Here is a small composer patch I wrote for this:
The text was updated successfully, but these errors were encountered: