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 support for dubious month/day dates #13

Open
peterdesmet opened this issue Apr 16, 2013 · 2 comments
Open

Add support for dubious month/day dates #13

peterdesmet opened this issue Apr 16, 2013 · 2 comments
Labels

Comments

@peterdesmet
Copy link
Member

11-12-2012 could be a little-endian date (11 december) or a middle-endian date (12 november) and is thus dubious.

Currently, the parser returns nothing for these dates, but the year can be unambiguously determined: 2012.

@cgendreau
Copy link
Contributor

Do you think 0-0-2012 should return null or 2012?

@peterdesmet
Copy link
Member Author

I would return 2012.

1-1-2012 is also a very common representation for 2012, but that one cannot be transformed to 2012.

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

No branches or pull requests

2 participants