gdatetime: Extend the '%z' timezone format
authorKalev Lember <kalevlember@gmail.com>
Fri, 30 Aug 2013 19:24:56 +0000 (21:24 +0200)
committerKalev Lember <kalevlember@gmail.com>
Sat, 31 Aug 2013 11:34:41 +0000 (13:34 +0200)
commit8fd7f58aeef89f60ca16b8350e6dd0bd34ab5ed1
treeed6132e7baf4d2f5b457a8f3a44f4e25b40c4fb6
parentdac5e5e755b684582bf42ba443fa283e3cc40a14
gdatetime: Extend the '%z' timezone format

Implement gnulib strftime extensions for the '%z' numeric timezone
format. These are also supported and documented by GNU date(1):

%z     +hhmm numeric time zone (e.g., -0400)

%:z    +hh:mm numeric time zone (e.g., -04:00)

%::z   +hh:mm:ss numeric time zone (e.g., -04:00:00)

%:::z  numeric time zone with : to necessary precision (e.g., -04, +05:30)

https://bugzilla.gnome.org/show_bug.cgi?id=707151
glib/gdatetime.c