Improve the semantics of --after/--before
#384
jotaen
started this conversation in
Feature ideas & discussions
Replies: 2 comments
-
|
Just a suggestion:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
|
@vladdeSV that's what I wanted to suggest as well. make after/before exclusive and since/until inclusive. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This issue is a spin-off of https://github.com/jotaen/klog/issues/27.
--afterand--beforeare currently inclusive, which is not intuitive. On the other hand, there could also be legitimiate use cases for it, e.g.--after=2000-01-01, instead of--after=1999-12-31. I think the ultimate solution is this:--afterand--beforeexclusivee.g.--after-or-ator--after-incl--sinceand--until--in=2018for “all in 2018” or--in=2018-01for “all in January 2018”.All exact names tbd., suggestions welcome.
Beta Was this translation helpful? Give feedback.
All reactions