[gnome-shell/gbsneto/new-lock-screen-part2: 5/38] unlockDialog: Adjust date format



commit b1925ca3a258295caa01d94673924670a3268c8c
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Mon Feb 10 19:11:26 2020 -0300

    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 acc92f4ef2..07545da49d 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);
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]