FIX: Events from org-mode lasting for more than one day are shown correctly in blocks (#11) #60
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello,
this pull request fixes the issue of calfw not recognizing events lasting for several days as reported in issue #11. The problem arose because org mode apparently changed its behaviour with the "dotime" property of the event. In order to fix this issue, I check if an event has the "extra" property set with a value of something like eg. "(1/3): ". This "extra" property give the information of which day you are in in a multi day event, here its day one of three. You can see this extra property in action when you look at a multi day event in the Agenda view.
Anyhow, I am rather new to elisp so comments and suggestions are very welcome! This fix works well for me and I hope some other people will find it useful too!