Small correction to the patch (for Trusty, maybe it also works in newer releases). The condition should be "begin < a.end" instead of "begin <= a.end", or else all-day events would also be displayed when the next day is selected.
I also tested events that span multiple days, and it works correctly. The ongoing events for today are correctly displayed. The calendar, however, only highlights (in bold) the first day of multiple-days events, which is another small bug. ** Patch added: "upcoming-after-end.patch" https://bugs.launchpad.net/ubuntu/+source/indicator-datetime/+bug/1302004/+attachment/4395112/+files/upcoming-after-end.patch ** Patch removed: "upcoming-after-end.patch" https://bugs.launchpad.net/ubuntu/+source/indicator-datetime/+bug/1302004/+attachment/4393197/+files/upcoming-after-end.patch -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to indicator-datetime in Ubuntu. https://bugs.launchpad.net/bugs/1302004 Title: Indicator-datetime still doesn't list all events for today's date (Trusty/Utopic/Vivid) Status in indicator-datetime package in Ubuntu: Confirmed Bug description: This bug is related to this bug: Bug #1293646 (Which is marked as fix released) With latest update of indicator (13.10.0+14.04.20140328-0ubuntu1) it lists all events for all past selected dates properly (which was fixed in bug Bug #1293646) except today's date. When I click on any past date in calendar it shows: 1. all all-day events for the day. 2. all events with time for the day 3. upcoming (future) all-day events 4. upcoming (future) events with time But when I click on today's date it only shows: 1. future all day events 2. future events with time I still have to click on previous day's date to find out all all-day events for today. The behavior (showing all events for a day) should be same for any date, including today's date. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/indicator-datetime/+bug/1302004/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp