From fc4dfbcb1c56d5347162dfc1f28f9b4c256f8fac Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Wed, 25 Jun 2014 13:01:10 +0200 Subject: Honor locale time settings in lock screen Closes https://github.com/mate-desktop/mate-screensaver/pull/47 --- src/gs-lock-plug.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/gs-lock-plug.c b/src/gs-lock-plug.c index 8b47e96..c5facf8 100644 --- a/src/gs-lock-plug.c +++ b/src/gs-lock-plug.c @@ -300,8 +300,7 @@ date_time_update (GSLockPlug *plug) gchar *str; datetime = g_date_time_new_now_local (); - /* Translators: Time format, see https://developer.gnome.org/glib/stable/glib-GDateTime.html#g-date-time-format */ - time = g_date_time_format (datetime, _("%l:%M %p")); + time = g_date_time_format (datetime, "%X"); /* Translators: Date format, see https://developer.gnome.org/glib/stable/glib-GDateTime.html#g-date-time-format */ date = g_date_time_format (datetime, _("%A, %B %e")); -- cgit v1.2.1