After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 772104 - Events finishing at 00:00 span across both days
Events finishing at 00:00 span across both days
Status: RESOLVED FIXED
Product: gnome-calendar
Classification: Applications
Component: Views
unspecified
Other Linux
: Normal normal
: 3.26
Assigned To: GNOME Calendar maintainers
GNOME Calendar maintainers
Depends on:
Blocks:
 
 
Reported: 2016-09-28 06:44 UTC by Adrien Plazas
Modified: 2017-04-17 18:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
quick-add-popover: always set seconds to 0 (1.50 KB, patch)
2016-10-01 23:43 UTC, Georges Basile Stavracas Neto
committed Details | Review
event: fix comparison if event is today (2.22 KB, patch)
2016-10-01 23:43 UTC, Georges Basile Stavracas Neto
committed Details | Review

Description Adrien Plazas 2016-09-28 06:44:56 UTC
If I have an event on the evening which finishes at midnight (00:00 on the next day) it is shown as happening on both days.

This doesn't reflect how such an event is understood: if an event ends up on midnight it doesn't happen the second day, the time at which the event finishes should be excluded.
Comment 1 Georges Basile Stavracas Neto 2016-10-01 23:43:23 UTC
Created attachment 336744 [details] [review]
quick-add-popover: always set seconds to 0
Comment 2 Georges Basile Stavracas Neto 2016-10-01 23:43:28 UTC
Created attachment 336745 [details] [review]
event: fix comparison if event is today

Since the end times are open-ended, we have to consider the very second
before the actual end time.
Comment 3 Georges Basile Stavracas Neto 2016-10-01 23:44:27 UTC
Thanks for the report. What a nasty issue to track down!

Attachment 336744 [details] pushed as 159da57 - quick-add-popover: always set seconds to 0
Attachment 336745 [details] pushed as 23cc46a - event: fix comparison if event is today