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

Expand upon date filtering options to be natural language #26

Open
bnvk opened this issue Apr 7, 2015 · 0 comments
Open

Expand upon date filtering options to be natural language #26

bnvk opened this issue Apr 7, 2015 · 0 comments

Comments

@bnvk
Copy link
Owner

bnvk commented Apr 7, 2015

An interesting thread was started after a path @simonv3 submitted about the current date filtering. When passing month arguments does it show one April or multiple Aprils?

  • -d april shows most recent (or current) april
  • -d april all would a concatenation of all previous aprils

Currently, you can specify a specific April with the arg like -d 2013-04 but perhaps would it be nice to also support more natural language style args like:

  • -d last april shows previous year April result
  • -d april 2012 shows April in year 2012

Just some ideas... looks like there might be a plugin for Moment.js that does this already moment-natural

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