summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-02-17 21:45:30 (UTC)
committer zautrix <zautrix>2005-02-17 21:45:30 (UTC)
commitb1e885da3b0a083121f940485d9c0eea53ff5139 (patch) (unidiff)
treee999d042e45cd1410cc327a3c347bbefa5896289
parent8e8d2bd0c31eb272a7f26756252ff4930d0602bc (diff)
downloadkdepimpi-b1e885da3b0a083121f940485d9c0eea53ff5139.zip
kdepimpi-b1e885da3b0a083121f940485d9c0eea53ff5139.tar.gz
kdepimpi-b1e885da3b0a083121f940485d9c0eea53ff5139.tar.bz2
fix
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--bin/kdepim/WhatsNew.txt3
-rw-r--r--korganizer/koeventviewer.cpp12
2 files changed, 14 insertions, 1 deletions
diff --git a/bin/kdepim/WhatsNew.txt b/bin/kdepim/WhatsNew.txt
index 62c8447..06aa5f6 100644
--- a/bin/kdepim/WhatsNew.txt
+++ b/bin/kdepim/WhatsNew.txt
@@ -10,2 +10,5 @@ Added a "go today" button to the datepicker.
10 10
11Added "created" and "last modified" to event/todo viewer (and What'sThis viewer)
12and made it configureable to show these values.
13
11 14
diff --git a/korganizer/koeventviewer.cpp b/korganizer/koeventviewer.cpp
index d87938a..417d89c 100644
--- a/korganizer/koeventviewer.cpp
+++ b/korganizer/koeventviewer.cpp
@@ -458,3 +458,13 @@ void KOEventViewer::appendTodo(Todo *event, int mode )
458 458
459 } 459 }
460 if ( KOPrefs::instance()->mEVshowCreated ) {
461 addTag("p",i18n("<b>Created: ") +" </b>");
462 addTag("p", KGlobal::locale()->formatDateTime( event->created(), shortDate ));
463
464 }
465 if ( KOPrefs::instance()->mEVshowChanged ) {
466 addTag("p",i18n("<b>Last modified: ") +" </b>");
467 addTag("p", KGlobal::locale()->formatDateTime( event->lastModified(), shortDate ));
468
469 }
460 setText(mText); 470 setText(mText);