X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Fuistyle.cpp;h=549f5a9fa82598b6cd262d40a5996334c592e952;hp=6bd84941bfb45c4495d82caa25c8b29a9e00890e;hb=c64a887d0f05222590299fb2bb8d56fa9fadb16d;hpb=42bade02f5352701d4603c72a341f04ea05922c5;ds=sidebyside diff --git a/src/uisupport/uistyle.cpp b/src/uisupport/uistyle.cpp index 6bd84941..549f5a9f 100644 --- a/src/uisupport/uistyle.cpp +++ b/src/uisupport/uistyle.cpp @@ -687,8 +687,12 @@ void UiStyle::StyledMessage::style() const //: Error Message 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(timestamp().toString()); + t = tr("{Day changed to %1}").arg(newDate); + } break; case Message::Topic: //: Topic Message