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

Dependent dates #17

Open
orsinium opened this issue Feb 27, 2019 · 2 comments
Open

Dependent dates #17

orsinium opened this issue Feb 27, 2019 · 2 comments

Comments

@orsinium
Copy link

when cannot parse dates with relative delta from some date:

gore> r, err := w.Parse("завтра в 12:00 поезд, напомни за час", time.Now())
&when.Result{
  Index:  0,
  Text:   "завтра в 12:00",
  Source: "завтра в 12:00 поезд, напомни за час",
  Time:   2019-02-28 12:00:28 Local,
}
nil

BTW, I have old rutimeparser lib for Python. Maybe, some test cases will be useful for you.

@olebedev
Copy link
Owner

PRs are very welcome :D

@orsinium
Copy link
Author

Yeah, sure. I'm going to have a look what I can improve. At this moment I've just marked some issues to not forget to fix. You, me, someone else - it doesn't matter :)

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