From 01cf3f93671ea85c9160ae07727282806a60556c Mon Sep 17 00:00:00 2001 From: Ming Rui Zhang Date: Mon, 10 May 2021 12:38:02 -0400 Subject: [PATCH] utils: add the missing colon in the time format string Change-Id: Ib15edf23cfcc5536d2e430becba084d5eac0f826 --- src/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.cpp b/src/utils.cpp index 69434abf..8252dbe6 100644 --- a/src/utils.cpp +++ b/src/utils.cpp @@ -503,7 +503,7 @@ Utils::formatTimeString(const std::time_t& timeStamp) auto now = QDateTime::currentDateTime(); auto timeStampDMY = currentTimeStamp.toString("dd/MM/yy"); if (timeStampDMY == now.toString("dd/MM/yy")) { - return currentTimeStamp.toString("hhmm"); + return currentTimeStamp.toString("hh:mm"); } else { return timeStampDMY; }