summaryrefslogtreecommitdiff
path: root/src/gs-lock-plug.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-06-25 13:01:10 +0200
committerStefano Karapetsas <[email protected]>2014-06-25 13:01:10 +0200
commitfc4dfbcb1c56d5347162dfc1f28f9b4c256f8fac (patch)
treeb4306a4b3bde2409f82e53e51bed0bad04df3bf4 /src/gs-lock-plug.c
parent8fe598d87e203b9d956a83fa60ab0e481b85f5df (diff)
downloadmate-screensaver-fc4dfbcb1c56d5347162dfc1f28f9b4c256f8fac.tar.bz2
mate-screensaver-fc4dfbcb1c56d5347162dfc1f28f9b4c256f8fac.tar.xz
Honor locale time settings in lock screenmate-screensaver-1.9.0
Closes https://github.com/mate-desktop/mate-screensaver/pull/47
Diffstat (limited to 'src/gs-lock-plug.c')
-rw-r--r--src/gs-lock-plug.c3
1 files changed, 1 insertions, 2 deletions
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"));