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 707253 - datetime: Use new g_date_time %z format modifier
datetime: Use new g_date_time %z format modifier
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: Date and Time
3.9.x
Other Linux
: Normal normal
: ---
Assigned To: Zeeshan Ali
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-09-02 01:51 UTC by Kalev Lember
Modified: 2013-09-02 20:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
datetime: Use new g_date_time %z format modifier (1.67 KB, patch)
2013-09-02 01:55 UTC, Kalev Lember
committed Details | Review

Description Kalev Lember 2013-09-02 01:51:02 UTC
.
Comment 1 Kalev Lember 2013-09-02 01:55:24 UTC
Created attachment 253799 [details] [review]
datetime: Use new g_date_time %z format modifier

Use new %:::z format string to display timezone offset in a slightly
nicer way. This is also needed for consistency with the timezone
notifications from gnome-settings-daemon.

Also bump glib dependency to 2.37.7 for the new modifier.
Comment 2 Zeeshan Ali 2013-09-02 14:10:39 UTC
Review of attachment 253799 [details] [review]:

::: panels/datetime/cc-datetime-panel.c
@@ +547,2 @@
   /* Translators: UTC here means the Coordinated Universal Time.
+   * %:::z will be replaced by the offset from UTC e.g. UTC+02 */

I don't see any mention of ':::' part in the docs: https://developer.gnome.org/glib/unstable/glib-GDateTime.html#g-date-time-format
Comment 3 Kalev Lember 2013-09-02 14:24:52 UTC
It's a new thing, haven't made it into any tarball release yet:
https://bugzilla.gnome.org/show_bug.cgi?id=707151
Comment 4 Zeeshan Ali 2013-09-02 14:31:19 UTC
Review of attachment 253799 [details] [review]:

ack then
Comment 5 Kalev Lember 2013-09-02 20:08:20 UTC
Thanks!

Attachment 253799 [details] pushed as 16e251e - datetime: Use new g_date_time %z format modifier