calendar icon indicating copy to clipboard operation
calendar copied to clipboard

Upcoming events panel doesn't show all events

Open elementaryBot opened this issue 8 years ago • 2 comments

Upcoming events panel doesn't show all events for a day from Google Calendar. I couldn't understand the logic for which events it chooses to show. The month view shows all events.

Launchpad Details: #LP1622784 fsqcds - 2016-09-12 23:24:22 +0000


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

elementaryBot avatar Apr 17 '17 17:04 elementaryBot

In my case it doesn't show any upcoming events. Here's my two cents after taking a quick peek at the code:

  • Too many events get filtered out by the events_list.set_filter_func ((row) in AgendaView.vala
  • Explanation: the stripped_time method is called with a wrongly converted date (I'm in a GMT+8 timezone and the stripped date becomes the next day)
  • stripped_time should probably be called with the selected date (which is in local format)
  • the stripped_time method should create a new local datetime object using only the year, month and day. Then everything seems to work fine.
  • it might be worthwhile to review the whole app for the consistent usage of local DateTime objects (or UTC DateTime objects whatever is preferred but not mix them)

Launchpad Details: #LPC Ron Mevissen - 2016-12-15 15:23:55 +0000

elementaryBot avatar Apr 17 '17 17:04 elementaryBot

Can confirm same problem with Maya 0.4.0.2 on Loki release.

Upcoming events sidebar does not event display info when that day is selected on the calendar.

Launchpad Details: #LPC Seth - 2017-01-19 17:18:22 +0000

elementaryBot avatar Apr 17 '17 17:04 elementaryBot