[Xfce-bugs] [Bug 16036] New: Entering an invalid timezone falls back to UTC with no clear error
bugzilla-daemon at xfce.org
bugzilla-daemon at xfce.org
Sat Oct 12 13:52:37 CEST 2019
https://bugzilla.xfce.org/show_bug.cgi?id=16036
Bug ID: 16036
Summary: Entering an invalid timezone falls back to UTC with no
clear error
Classification: Xfce Core
Product: Xfce4-panel
Version: 4.14.1
Hardware: PC (x86_64)
OS: Linux
Status: NEW
Severity: normal
Priority: Medium
Component: Clock
Assignee: xfce-bugs at xfce.org
Reporter: rkd at rkd.me.uk
Target Milestone: Panel 4.14
Created attachment 9110
--> https://bugzilla.xfce.org/attachment.cgi?id=9110&action=edit
Patch to display an error on invalid timezones
I mistakenly entered "BST" in the "Timezone" field in the Clock plugin's
properties. This isn't valid (it needs to be Europe/London) but nothing told me
this - it just fell back to UTC. (This would have showed up if I'd had timezone
included in the display, but I didn't.)
This looks like it's ultimately a problem with g_time_zone_new not providing
any error response (https://gitlab.gnome.org/GNOME/glib/issues/553).
However, the panel plugin could work around this by checking for itself whether
the timezone exists, and I've got a patch that does so (attached).
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Xfce-bugs
mailing list