g_date_time_format: honour T_FMT_AMPM for '%r'
authorRyan Lortie <desrt@desrt.ca>
Sun, 4 Sep 2011 22:01:55 +0000 (18:01 -0400)
committerRyan Lortie <desrt@desrt.ca>
Mon, 5 Sep 2011 03:55:58 +0000 (23:55 -0400)
commitb6fdbb8e448be794fd9d098dc5f2bd327b2f23f0
treee5b12dd49ffee9c4b0195eec4de86bb22cc213cf
parent9ddd25c18b59c443945ff9dcb19675e00caeca63
g_date_time_format: honour T_FMT_AMPM for '%r'

We had the 12 hour time format hard-coded to "%02d:%02d:%02d %s" but it
actually changes depending on the locale.  Just with the other formats,
use nl_langinfo() if we have it, otherwise fall back on gettext().
configure.ac
glib/gdatetime.c