Fix log timestamps (LP: #1602196)
Approved by: Albert Astals Cid, Unity8 CI Bot
commitc50c36848c5217e215bc85214034363c891afa79
authorLukáš Tinkl <lukas.tinkl@canonical.com>
dateWed 3 Aug 2016, 15:52 (10 years ago)
parent280e5943df69c3
src/Dash/main.cpp+1−1
@@ -37,7 +37,7 @@
3737
3838int main(int argc, const char *argv[])
3939{
40− qSetMessagePattern("[%{time yyyy-mm-dd:hh:mm:ss.zzz}] %{if-category}%{category}: %{endif}%{message}");
40+ qSetMessagePattern("[%{time yyyy-MM-dd:hh:mm:ss.zzz}] %{if-category}%{category}: %{endif}%{message}");
4141 if (enableQmlDebugger(argc, argv)) {
4242 QQmlDebuggingEnabler qQmlEnableDebuggingHelper(true);
4343 }
src/main.cpp+1−1
@@ -21,7 +21,7 @@
2121
2222int main(int argc, const char *argv[])
2323{
24− qSetMessagePattern("[%{time yyyy-mm-dd:hh:mm:ss.zzz}] %{if-category}%{category}: %{endif}%{message}");
24+ qSetMessagePattern("[%{time yyyy-MM-dd:hh:mm:ss.zzz}] %{if-category}%{category}: %{endif}%{message}");
2525
2626 bool isMirServer = false;
2727 if (qgetenv("QT_QPA_PLATFORM") == "ubuntumirclient") {