diff --git a/src/gui/executionlog.cpp b/src/gui/executionlog.cpp
index 39614432b..7c2be8f4f 100644
--- a/src/gui/executionlog.cpp
+++ b/src/gui/executionlog.cpp
@@ -88,7 +88,7 @@ void ExecutionLog::addLogMessage(const Log::Msg &msg)
color = QApplication::palette().color(QPalette::WindowText);
}
- text = "" + time.toString("dd/MM/yyyy hh:mm:ss") + " - " + msg.message + "";
+ text = "" + time.toString(Qt::SystemLocaleShortDate) + " - " + msg.message + "";
m_msgList->appendLine(text);
}
@@ -99,12 +99,12 @@ void ExecutionLog::addPeerMessage(const Log::Peer& peer)
if (peer.blocked)
#if LIBTORRENT_VERSION_NUM < 10000
- text = "" + time.toString("dd/MM/yyyy hh:mm:ss") + " - " + tr("%1 was blocked", "x.y.z.w was blocked").arg(peer.ip);
+ text = "" + time.toString(Qt::SystemLocaleShortDate) + " - " + tr("%1 was blocked", "x.y.z.w was blocked").arg(peer.ip);
#else
- text = "" + time.toString("dd/MM/yyyy hh:mm:ss") + " - " + tr("%1 was blocked %2", "x.y.z.w was blocked").arg(peer.ip).arg(peer.reason);
+ text = "" + time.toString(Qt::SystemLocaleShortDate) + " - " + tr("%1 was blocked %2", "x.y.z.w was blocked").arg(peer.ip).arg(peer.reason);
#endif
else
- text = "" + time.toString("dd/MM/yyyy hh:mm:ss") + " - " + tr("%1 was banned", "x.y.z.w was banned").arg(peer.ip);
+ text = "" + time.toString(Qt::SystemLocaleShortDate) + " - " + tr("%1 was banned", "x.y.z.w was banned").arg(peer.ip);
m_peerList->appendLine(text);
}