show correct core start time in coreinfodlg
[quassel.git] / src / qtui / coreinfodlg.cpp
index 1d441a0..ce36d01 100644 (file)
@@ -51,6 +51,6 @@ void CoreInfoDlg::updateUptime() {
   int upmins = uptime / 60; uptime %= 60;
 
   QString uptimeText = tr("%n Day(s)", "", updays)
-                     + tr(" %1:%2:%3 (since %4)").arg(uphours,2,10,QChar('0')).arg(upmins,2,10,QChar('0')).arg(uptime,2,10,QChar('0')).arg(startTime.toString(Qt::TextDate));
+                     + tr(" %1:%2:%3 (since %4)").arg(uphours,2,10,QChar('0')).arg(upmins,2,10,QChar('0')).arg(uptime,2,10,QChar('0')).arg(startTime.toLocalTime().toString(Qt::TextDate));
   ui.labelUptime->setText(uptimeText);
 }