-
Notifications
You must be signed in to change notification settings - Fork 209
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
All day event process correctly with --notstarted, fix #1004 #1005
base: master
Are you sure you want to change the base?
Conversation
With `khal list` and `khal calendar`
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see a problem with this :)
Hmm, actually... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It took a while, but (like I said in #1004) this would require us to change the documented behaviour. This would also prevent excluding multi-day events (that have started before the chosen day) but showing new events on that day. It's also confusing because in this form khal list --notstarted
will show events that have started today (or even ended) unless they're all day events.
Fixing the bug (that |
Hi @d7415, so if I understand, I need to create a exception to display multi-day events? For example event begins yesterday and ends in 3 day, |
No. In that example the event has started so shouldn't be shown (and the current code won't show it) My problems with this PR are:
There is still a bug from #1004 where if a time after midnight is specified (e.g. with |
When you do
khal list --notstarted
, the "today" all-day event is displayed. This MR avoid this problem.