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
This commit is contained in:
Georges Basile Stavracas Neto 2020-02-10 19:11:26 -03:00 committed by Florian Müllner
parent 143cda628e
commit d3cfb5801b

View File

@ -43,7 +43,7 @@ class UnlockDialogClock extends St.BoxLayout {
let date = new Date(); let date = new Date();
/* Translators: This is a time format for a date in /* Translators: This is a time format for a date in
long format */ 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); this._date.text = date.toLocaleFormat(dateFormat);
} }