Skip to content

Commit

Permalink
Honor locale time settings in lock screen
Browse files Browse the repository at this point in the history
Closes #47
  • Loading branch information
stefano-k committed Jun 25, 2014
1 parent 8fe598d commit fc4dfbc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/gs-lock-plug.c
Expand Up @@ -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"));

Expand Down

0 comments on commit fc4dfbc

Please sign in to comment.