-rw-r--r-- | korganizer/koagendaview.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/korganizer/koagendaview.cpp b/korganizer/koagendaview.cpp index ef5c4dd..131a345 100644 --- a/korganizer/koagendaview.cpp +++ b/korganizer/koagendaview.cpp @@ -837,5 +837,8 @@ void KOAgendaView::createDayLabels() addString = i18n("Day after tomorrow"); if ( !addString.isEmpty() ) { - str = addString+", " + str; + if ( QApplication::desktop()->width() < 640 ) + str = addString+", " + str; + else + str = addString+", "+ KGlobal::locale()->formatDate( date, false); } else { str = KGlobal::locale()->formatDate( date, KOPrefs::instance()->mShortDateInViewer); |