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

Add format parameter in Date::Parse() method #255

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,

I added a format parameter to the method Date::Parse() to specify a uniq format to parse the date. What do you think about it ?

Thank,

@arian
Copy link
Member

arian commented Jun 27, 2011

I think this is related to https://mootools.lighthouseapp.com/projects/24057/tickets/513

Probably I can pull this next week, if not someone else on the team does. Can't do it directly because we'll need to update our tests and docs too.

@xrado
Copy link
Contributor

xrado commented Nov 14, 2011

+1 please add this

@nigeldaley
Copy link

+1 please add this it is needed, if this where available it make it easy to fix a bug in the datepicker that causes the calendar to be shown in the incorrect month when using the format d-m-y e.g if a date of 01-06-2010 (01-june-2010) is in the datepicker text box the calendar will display 06-january-2010 this is due to Date.Parser this could easily be fixed if date.parser had a format param

@luigi37
Copy link

luigi37 commented Feb 18, 2012

+1. Needed. The format of the dates is incorrect for that ones that can look as american (even if formatted as european).
Also a format parameter in date.parser would be more intuitive.

@neilime
Copy link

neilime commented Mar 26, 2012

+1 Date.parse with format parameter is strongly usefull for european dates

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

Successfully merging this pull request may close these issues.

7 participants