We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
Date is not being correcty formatted using dd/mm/YYY. Here's how to reproduce: Date.defineParser("%d/%m/%Y"); console.log( Date.parse("02/04/2010") )
Date.defineParser("%d/%m/%Y"); console.log( Date.parse("02/04/2010") )
The output would be wrong: Thu Feb 04 2010 00:00:00 GMT-0200 (BRST)
Note that if the day is above 12 the date is correctly parsed. Ie: console.log( Date.parse("28/03/2010") )
console.log( Date.parse("28/03/2010") )
This would be correctly parsed as: Sun Mar 28 2010 00:00:00 GMT-0300 (BRT)
The text was updated successfully, but these errors were encountered:
I'm sorry, I should have posted this on More bug track instead. Please ignore it.
Sorry, something went wrong.
@MarcosFernandes I am looking at your post on More for this so I close it here.
Nice that you brought this up for our attention!
No branches or pull requests
Hi,
Date is not being correcty formatted using dd/mm/YYY. Here's how to reproduce:
Date.defineParser("%d/%m/%Y");
console.log( Date.parse("02/04/2010") )
The output would be wrong:
Thu Feb 04 2010 00:00:00 GMT-0200 (BRST)
Note that if the day is above 12 the date is correctly parsed. Ie:
console.log( Date.parse("28/03/2010") )
This would be correctly parsed as:
Sun Mar 28 2010 00:00:00 GMT-0300 (BRT)
The text was updated successfully, but these errors were encountered: