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

Default parseSplitDelimeter breaks up iso formatted dates #13

Closed
sambs opened this issue Mar 13, 2012 · 1 comment
Closed

Default parseSplitDelimeter breaks up iso formatted dates #13

sambs opened this issue Mar 13, 2012 · 1 comment

Comments

@sambs
Copy link

sambs commented Mar 13, 2012

The default parseSplitDelimeter breaks upon every - character. Lots of ISO date formats such as YYYY-MM-DD have their constituent parts split by dashes, so anyone wanting to use these formats will encounter confusing results unless the parseSplitDelimeter is also changed. Perhaps the default parseSplitDelimeter could require space around the dash: /,\s*|\s+-\s+/?

@cgunther
Copy link

Just got bit by this too. Switching to @sambs regex for parseSplitDelimiter solved it for me too.

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

3 participants