Skip to content

Dependent dates #17

Description

@orsinium

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions