Skip to content
Snippets Groups Projects
Commit 01cf3f93 authored by Ming Rui Zhang's avatar Ming Rui Zhang
Browse files

utils: add the missing colon in the time format string

Change-Id: Ib15edf23cfcc5536d2e430becba084d5eac0f826
parent d7e76178
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment