Setting google-cal event start time of 4pm causes end time to be 12am of the following day
Description of problem: Setting a start time for a google calendar event in GNOME-Calendar causes the end time to display one hour after the chosen start time. That is expected. However, when I set the start time to 4pm and click done to save the event, the end time is recorded at 12am of the following day. This only seems to affect google calendar events and not the local 'personal' calendar. And I have only seen it for 4pm events although that seems strange to me.
How reproducible: 100% for me at least
Steps to Reproduce:
- Setup a google account via GNOME online accounts and make sure to sync calendar
- Open GNOME-Calendar
- click a day to start an event, make sure the event is associated with the google account
- Type an event name and click edit details
- Uncheck all day
- Click down on the hours until 4 and change AM to PM.
- After the above step the end time will display 5 PM. (as expected)
- Click done and notice the event spans two days with the event end time at 12am of the following day.
Actual results: A one hour event turns into a 2 day event.
Expected results: The start and end times in the event dialogue box should reflect the times that will be added when you click done to commit the event.
Additional info: If I manually adjust the end time it gets added to the event correctly. It looks like to me that when a new start time is added the UI is updated with the standard one hour end time but whatever data structure actually holds the raw event data may not be getting updated.