[Xfce4-commits] [apps/xfce4-screensaver] 149/425: Honor locale time settings in lock screen

noreply at xfce.org noreply at xfce.org
Mon Oct 15 01:49:56 CEST 2018


This is an automated email from the git hooks/post-receive script.

b   l   u   e   s   a   b   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfce4-screensaver.

commit fc4dfbcb1c56d5347162dfc1f28f9b4c256f8fac
Author: Stefano Karapetsas <stefano at karapetsas.com>
Date:   Wed Jun 25 13:01:10 2014 +0200

    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(-)

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"));
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list