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

Relative dates #23

Open
lorisleiva opened this issue Aug 28, 2020 · 0 comments
Open

Relative dates #23

lorisleiva opened this issue Aug 28, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@lorisleiva
Copy link
Owner

Support for things like

date < "5 days ago"
date >= "last week"
date = "2 years ago"
date = "7 months from now"
date = "past month"
date = "this month"
date = "next month"
date = "upcoming month"
...

The difficulty lies in understanding the boundaries of the unit of time, based on the text.

For example, if we are on the 15th of August:

  • "last month" might be 1st—31st of July
  • but "past month" might be 15th of July — 15th of August (similarly to "past 31 days" but without having to know how many days there are in the previous month)
@lorisleiva lorisleiva added the enhancement New feature or request label Aug 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant