Display timestamps using the application locale
[quassel.git] / src / uisupport / uistyle.cpp
index 6bd8494..1e78e38 100644 (file)
@@ -687,8 +687,10 @@ void UiStyle::StyledMessage::style() const
         //: Error Message
         t = tr("%1").arg(txt); break;
     case Message::DayChange:
+    {
         //: Day Change Message
-        t = tr("{Day changed to %1}").arg(timestamp().toString());
+        t = tr("{Day changed to %1}").arg(QLocale().toString(timestamp(), QLocale().dateFormat()));
+    }
         break;
     case Message::Topic:
         //: Topic Message