Start a new topic

Sync items to Calendar - Bug with events that span multiple days

Hello,I already raised a ticket (ticket #33367), but I'm seeing this forum section regarding "Issues", so I'm not sure if it's better to raise a ticket or write here. Therefore, I'm writing my issue here as well and please close the ticket or remove this post if one place is better than the other!


Here is my problem regarding the sync items to calendar feature:

Events that span multiple days create an event that span the correct range, but multiple events are created. The number of event that are created are based on the number of days that the item take over. I mean, an item that goes for 3 days will have 3 calendar events that span each the 3 days that the event occurs.

For example, with a property of:

#+DATE:  <2023-01-30 Mon>--<2023-02-04 Sat>

6 events will be created that all span from January 30th to February 4th.

Another example:

#+DATE:  <2023-02-06 Mon>—<2023-02-08 Wed>

3 events will be created that all span from February 6th to February 8th.

Thanks and all the best!

Thanks for reporting this. I'll reproduce and see what fix is required.

Just a small update to change my example... I thought my top file metadata could be used to insert date that would appear inside my calendar, but it seems that only Properties attached to a task are synced. So, here is an example that insert multiple items in the calendar:


* My item
:DATE:  <2023-06-05 Mon>--<2023-06-09 Fri>


Thanks for the adding your last example. I do still have this on my todo list to look at.

Login or Signup to post a comment