From 79599c32b23fe52a671bdeb6384eecdef9a7e64a Mon Sep 17 00:00:00 2001 From: NamedKitten Date: Mon, 15 Oct 2018 08:05:20 +0100 Subject: [PATCH] Fix timestamps. --- src/qml/main.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qml/main.qml b/src/qml/main.qml index 4badfd0..d2f51db 100644 --- a/src/qml/main.qml +++ b/src/qml/main.qml @@ -170,7 +170,7 @@ ApplicationWindow { var hour = h > 0 ? h + ":" : "" var minute = m + ":" - var second = s > 10 ? s : "0" + s + var second = s < 10 ? "0" + s : s return hour + minute + second }