Commit 27519537 authored by Ismael Asensio's avatar Ismael Asensio
Browse files

[KCMs/Night Color] Fix 1-digit minutes representation

On automatic time modes, minutes 0-9 were represented only with 1-digit
(i.e 8:0 instead of 8:00)


Test Plan:
Example Lat: 40.4 Lon: -3.7
(or travel to a place where sunrise starts at 8:00AM)

Reviewers: #plasma, #vdg, davidedmundson

Reviewed By: #plasma, davidedmundson

Subscribers: plasma-devel

Tags: #plasma

Differential Revision:
parent ccf730aa
......@@ -33,7 +33,7 @@ Kirigami.FormLayout {
function prettyTime(date) {
return date.toLocaleString(Qt.locale(), "h:m");
return date.toLocaleString(Qt.locale(), "h:mm");
Kirigami.Separator {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment