Creating / modifying a zero-duration time-based event at midnight sets it to all-day
Affected version
OS: Fedora Silverblue 36.20221011.0 GNOME calendar version: 43.0 via Flathub
Bug summary
When I try to add an event that's set at midnight, it gets added as an all-day event instead.
Steps to reproduce
- Go to add a new event on a day.
- Type a name and click "Edit details".
- Untick the "All Day" toggle button, and leave everything else at the defaults — i.e. leave "Starts" at the default time of 00:00.
Edit by @jfft: with the git version as of 3793001b, this only happens if you also leave the "Ends" time at00:00
- Click "Done" to add the event.
What happened
The event gets added, but as an all-day event.
If I go back to edit the event, untick "All Day" again, and save again, the same thing happens — it remains set as an all-day event even though I literally just unselected that.
What did you expect to happen
I expected the event to get added as a partial-day event, starting at midnight. This is what happens if I add an event and manually enter a start time (e.g. 00:01).
Edited by Jeff Fortin