Commit 01cf3f93 authored by Ming Rui Zhang's avatar Ming Rui Zhang

utils: add the missing colon in the time format string

Change-Id: Ib15edf23cfcc5536d2e430becba084d5eac0f826
parent d7e76178
......@@ -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;
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