You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have you tried khal list today 30d?But yes, your suggestion sounds sensible (to assume now or today as a starting date/time in only a range is given).Feel free to send a pr.Am 23.06.2023 um 11:21 schrieb Valentin Iovene ***@***.***>:
I would expect khal list 30d to print events in the next 30 days.
With the current version of khal, you have to do:
khal list `date +%F` 30d
Currently khal list <something> is going to try to parse <something> as a starting date/datetime.
My proposal is that we first try to parse the starting date/datetime, and if it fails, we try to parse a timedelta (e.g. "30d" or "5h") instead.
Happy to open a PR for that, but I want this to be validated before I put any work into this.
Thanks!
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
I would expect
khal list 30d
to print events in the next 30 days.With the current version of khal, you have to do:
Currently
khal list <something>
is going to try to parse<something>
as a starting date/datetime.My proposal is that we first try to parse the starting date/datetime, and if it fails, we try to parse a timedelta (e.g.
"30d"
or"5h"
) instead.Happy to open a PR for that, but I want this to be validated before I put any work into this.
Thanks!
The text was updated successfully, but these errors were encountered: