From d3cfb5801b3f649386ed8612b0cac8e043e44323 Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Mon, 10 Feb 2020 19:11:26 -0300 Subject: [PATCH] unlockDialog: Adjust date format As per design feedback at FOSDEM, adjust the time format to not have a comma, nor padding. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872 --- js/ui/unlockDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/unlockDialog.js b/js/ui/unlockDialog.js index acc92f4ef..07545da49 100644 --- a/js/ui/unlockDialog.js +++ b/js/ui/unlockDialog.js @@ -43,7 +43,7 @@ class UnlockDialogClock extends St.BoxLayout { let date = new Date(); /* Translators: This is a time format for a date in long format */ - let dateFormat = Shell.util_translate_time_string(N_('%A, %B %d')); + let dateFormat = Shell.util_translate_time_string(N_('%A %B %-d')); this._date.text = date.toLocaleFormat(dateFormat); }