From kde-commits Mon Jul 31 22:06:31 2017 From: Allen Winter Date: Mon, 31 Jul 2017 22:06:31 +0000 To: kde-commits Subject: [eventviews] src/agenda: agenda/agendaview.cpp - put the shortMonth in the short day label Message-Id: X-MARC-Message: https://marc.info/?l=kde-commits&m=150153880621372 Git commit d2a9718d30c528a91693131bdb3c7daebd50993e by Allen Winter. Committed on 31/07/2017 at 22:05. Pushed by winterz into branch 'master'. agenda/agendaview.cpp - put the shortMonth in the short day label helps when quickviewing too. M +2 -1 src/agenda/agendaview.cpp https://commits.kde.org/eventviews/d2a9718d30c528a91693131bdb3c7daebd50993e diff --git a/src/agenda/agendaview.cpp b/src/agenda/agendaview.cpp index cc6b9af..a9cad2f 100644 --- a/src/agenda/agendaview.cpp +++ b/src/agenda/agendaview.cpp @@ -1224,8 +1224,9 @@ void AgendaView::createDayLabels(bool force) = int dW =3D date.dayOfWeek(); QString veryLongStr =3D QLocale::system().toString(date, QLocale::= LongFormat); - QString longstr =3D i18nc("short_weekday date (e.g. Mon 13)", "%1 = %2", + QString longstr =3D i18nc("short_weekday date (e.g. Mon 13)", "%1 = %2 %3", QLocale::system().dayName(dW, QLocale::Sho= rtFormat), + QDate::shortMonthName(date.month()), date.day()); QString shortstr =3D QString::number(date.day()); =20