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

German Dates Like 07.10.2011 #20

Open
prsebastian opened this issue Oct 7, 2011 · 1 comment
Open

German Dates Like 07.10.2011 #20

prsebastian opened this issue Oct 7, 2011 · 1 comment

Comments

@prsebastian
Copy link

Hi,

it would be great if natty would parse german dates too.
A german date has the form dd.mm.yyyy or dd.mm.yy or sometimes d.mm.yy(yy)

Over 20 countries use this date format too, please refer to
http://en.wikipedia.org/wiki/Date_format_by_country

Thanks in advance,
Sebastian

@katyaa
Copy link
Contributor

katyaa commented Dec 6, 2013

I have recently had to modify natty to parse german dates and I can tell you that natty cannot parse both. There is too much ambiguity. Even java method DateFormat.getDateInstance(DateFormat.SHORT).parse(string) will fail to parse, depending on which Locale you're in. In US it fails to parse dot separated dates, in GERMANY it fails to parse slash separated dates.

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

2 participants