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:
parent
143cda628e
commit
d3cfb5801b
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user