-
Notifications
You must be signed in to change notification settings - Fork 183
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
How to parse dates of format DD/MM/YYYY? #64
Comments
I'm in this very same situation. Currently, my two guesses are:
The second one seems to be the right way to do it, but also much more complex. |
What I did is I did a regex to match the date string 20/10/1974, so once I matched this string I then adjusted the order of the digits so that it becomes 1974/10/20, basically the reverse. Then I passed it to natty and natty was happy. So basically I was pre-processing the string before passing it to natty in the form that natty understands. Hey, there's a world out there that uses strings in DD/MM/YYYY format ! |
This is my codes which solves this issue, of course not intended to fix the issue, just to solve the problem as a workaround. |
+1 |
Is there any update on this issue? |
In Hong Kong and Australia we do dates as 20/10/1984 meaning 20th October 1984.
How can I parse that date?
The text was updated successfully, but these errors were encountered: