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 795202 - Disable time zone selection for all-day events
Disable time zone selection for all-day events
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Calendar
3.28.x
Other Linux
: Normal normal
: ---
Assigned To: evolution-calendar-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2018-04-12 16:24 UTC by Stephen
Modified: 2018-10-19 08:31 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Stephen 2018-04-12 16:24:32 UTC
It is currently possible to select a time zone when creating an all-day event.

However, the event is created with a DTSTART and DTEND with VALUE=DATE and no time zone.

The time zone selector should either be cleared and disabled when "all day" is selected, or the created event should reflect the time zone (i.e. have datetime values of midnight with timezone identifiers).

If the second approach is taken, a "floating time" date value would still be the sensible default and so there would need to be a mechanism for selecting this (see also BZ 795199).
Comment 1 Milan Crha 2018-04-12 17:24:46 UTC
Thanks for a bug report. I'd rather go with disabling/hiding the timezone picker with the all-day event, than to make them midnight-to-midnight events.

Side note: when you write bug 795199 or bug #795199, then it'll be made clickable, which makes it easier to follow bug references within one bugzilla instance (thus also cross-product bugs can be referenced this way).
Comment 2 Stephen 2018-04-12 17:40:09 UTC
> I'd rather go with disabling/hiding the timezone picker with the all-day event, than to make them midnight-to-midnight events.

Yep, I wasn't suggesting defaulting to time zone-aware events for all-day events, just that it could be made available as an option. There are use cases for that (e.g. deadlines/windows defined as "midnight on date x").

> then it'll be made clickable

I'm so used to BZ's lack of user-friendliness I think I just assumed nothing like that would exist 
Comment 3 Milan Crha 2018-10-19 08:31:44 UTC
Just a note, some backends store all-day events as date-time, in which case the time zone part matters, thus it doesn't hide when all-day is used.

Created commit 207920c10d in evo master (3.31.2+)