summaryrefslogtreecommitdiffabout
path: root/korganizer/koagendaview.cpp
authorzautrix <zautrix>2005-03-26 21:33:09 (UTC)
committer zautrix <zautrix>2005-03-26 21:33:09 (UTC)
commit7177e62052b732f901eca6627825d0b38d8438be (patch) (side-by-side diff)
tree9c6531a24e57221db445841610eaed7350ddc21f /korganizer/koagendaview.cpp
parenta24f954912ee2dbb76dcbde1abc9f20b06abbf93 (diff)
downloadkdepimpi-7177e62052b732f901eca6627825d0b38d8438be.zip
kdepimpi-7177e62052b732f901eca6627825d0b38d8438be.tar.gz
kdepimpi-7177e62052b732f901eca6627825d0b38d8438be.tar.bz2
next view
Diffstat (limited to 'korganizer/koagendaview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/koagendaview.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/korganizer/koagendaview.cpp b/korganizer/koagendaview.cpp
index a32333c..fa6b951 100644
--- a/korganizer/koagendaview.cpp
+++ b/korganizer/koagendaview.cpp
@@ -762,6 +762,8 @@ void KOAgendaView::createDayLabels()
addString = i18n("Day after tomorrow");
if ( !addString.isEmpty() ) {
str = addString+", " + str;
+ } else {
+ str = KGlobal::locale()->formatDate( date, KOPrefs::instance()->mShortDateInViewer);
}
}
dayLabel->setText(str);