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

No parsing of specific dates with comma #6

Closed
greenplastik opened this issue Feb 26, 2010 · 4 comments
Closed

No parsing of specific dates with comma #6

greenplastik opened this issue Feb 26, 2010 · 4 comments

Comments

@greenplastik
Copy link

The readme states that Chronic will parse specific dates formatted as "february 14, 2004".

However, the following doesn't work:

Chronic.parse("February 14, 2004") # <= nil

Whereas, whereas parsing without the comma does:

Chronic.parse("February 14 2004") # <= "Fri Dec 10 12:00:00 -0500 2010"

Thoughts?

@jakewendt
Copy link

I just tripped over this as well.

@jfelchner
Copy link
Contributor

Me too. I'll try to get in a pull request unless someone beats me to it.

Edit
Also a string of "November 18th 2011" becomes "November 18th, 2010 at 20:11"
But the string "November 18 2011" calculates correctly.

@jfelchner
Copy link
Contributor

Just submitted a pull request for support for a format like "February 14th, 2010"

@leejarvis
Copy link
Collaborator

Closed by 2d420c7

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

No branches or pull requests

4 participants