Upcoming events panel doesn't show all events
Bug #1622784 reported by
fsqcds
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Maya |
New
|
Undecided
|
Unassigned |
Bug Description
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.
To post a comment you must log in.
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)