Skip to content
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

Parse date with the option format first #50

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

brenard
Copy link

@brenard brenard commented Jun 27, 2011

Hello,

If my pull request on mootools-more git is accepted (brenard/mootools-more@9bd7841), this change permit parsing date with the format options before testing other format. In particular case, it avoid parsing error. What do you think ?

Thanks,

@yorickpeterse
Copy link

+1 for this, currently struggling trying to get Date.parse() to accept multiple formats that aren't manually set and this commit would fix my problem (or at least make it a lot easier to deal with).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants