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

Evaluating current year versus next year #18

Open
wbreza opened this issue Dec 2, 2016 · 0 comments
Open

Evaluating current year versus next year #18

wbreza opened this issue Dec 2, 2016 · 0 comments

Comments

@wbreza
Copy link

wbreza commented Dec 2, 2016

Is there a way to set the scope of the year differently depending on some configurable option? Take the following 2 questions?

  1. "How many items did we sell in april?" (This span should always be in the past)
  2. "Schedule my next appointment in april" (This span should always be in the future)

For example 1 I would always want it to parse the value as "last april"
For example 2 I would always want it to parse the value as "next april"

Any options for this without manually modifying the parsed spans?

@wbreza wbreza changed the title evaluating current year versus next year Evaluating current year versus next year Dec 2, 2016
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

1 participant