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

Permissive parsing of DELTA #1285

Closed
madduck opened this issue Jul 6, 2023 · 1 comment · Fixed by #1305
Closed

Permissive parsing of DELTA #1285

madduck opened this issue Jul 6, 2023 · 1 comment · Fixed by #1305

Comments

@madduck
Copy link
Contributor

madduck commented Jul 6, 2023

I often enter the DELTA using khal add with a leading plus, e.g. because it's how stuff works in TaskWarrior, among others. So: khal add tomorrow 10:00 +90m Test, but this generates an event with title "+90m Test".

My suggestion would be to swallow a leading + in what might be a DELTA value, and try both.

Happy to try to submit a patch.

@WhyNotHugo
Copy link
Member

I think that this sounds pretty sensible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants