X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fuisupport%2Fuistyle.cpp;h=1e78e385b8a072b85b04197636baf9a57a074ace;hb=e111d8af8271d490365cc017c16160c4645d606b;hp=549f5a9fa82598b6cd262d40a5996334c592e952;hpb=c64a887d0f05222590299fb2bb8d56fa9fadb16d;p=quassel.git diff --git a/src/uisupport/uistyle.cpp b/src/uisupport/uistyle.cpp index 549f5a9f..1e78e385 100644 --- a/src/uisupport/uistyle.cpp +++ b/src/uisupport/uistyle.cpp @@ -688,10 +688,8 @@ void UiStyle::StyledMessage::style() const t = tr("%1").arg(txt); break; case Message::DayChange: { - //: Date format. See http://qt-project.org/doc/qt-4.8/qdate.html#toString - QString newDate = timestamp().toString(tr("MMMM d yyyy")); //: Day Change Message - t = tr("{Day changed to %1}").arg(newDate); + t = tr("{Day changed to %1}").arg(QLocale().toString(timestamp(), QLocale().dateFormat())); } break; case Message::Topic: