summaryrefslogtreecommitdiffabout
path: root/libkcal
authorzautrix <zautrix>2005-10-10 01:15:44 (UTC)
committer zautrix <zautrix>2005-10-10 01:15:44 (UTC)
commita36b62685510933d1fd57d2c53d50b7f2fe2fc1c (patch) (unidiff)
treee97e078210104bdc70b9ed9d63f66e083cd0b032 /libkcal
parentb4ed5a3409d8a6d2f443e78306abbaf6963f0f9e (diff)
downloadkdepimpi-a36b62685510933d1fd57d2c53d50b7f2fe2fc1c.zip
kdepimpi-a36b62685510933d1fd57d2c53d50b7f2fe2fc1c.tar.gz
kdepimpi-a36b62685510933d1fd57d2c53d50b7f2fe2fc1c.tar.bz2
kkk
Diffstat (limited to 'libkcal') (more/less context) (ignore whitespace changes)
-rw-r--r--libkcal/kincidenceformatter.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libkcal/kincidenceformatter.cpp b/libkcal/kincidenceformatter.cpp
index f8f40f1..4dfe16a 100644
--- a/libkcal/kincidenceformatter.cpp
+++ b/libkcal/kincidenceformatter.cpp
@@ -84,3 +84,5 @@ void KIncidenceFormatter::setEvent(Event *event)
84 .arg(event->dtStartDateStr(shortDate)) 84 .arg(event->dtStartDateStr(shortDate))
85 .arg(event->dtEndDateStr(shortDate))); 85 .arg(event->dtEndDateStr(shortDate)));
86 mText.append(i18n("<p><b>Duration:</b> %1 days</p>")
87 .arg(event->dtStart().daysTo(event->dtEnd())+1));
86 } else { 88 } else {