Summary: | Date displayed in wrong format | ||
---|---|---|---|
Product: | kab3 | Reporter: | Ian Powell <ianseeks> |
Component: | general | Assignee: | Tobias Koenig <tokoe> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 3.2 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Ian Powell
2004-02-11 14:37:48 UTC
CVS commit by tokoe: Show birthday in local date/time format. CCMAIL:74951-done@bugs.kde.org M +8 -1 contactlistview.cpp 1.6 --- kdepim/kaddressbook/views/contactlistview.cpp #1.5:1.6 @@ -201,4 +201,11 @@ void ContactListViewItem::refresh() KABC::Field::List::ConstIterator it; for( it = mFields.begin(); it != mFields.end(); ++it ) { + if ( (*it)->label() == KABC::Addressee::birthdayLabel() ) { + QDate date = mAddressee.birthday().date(); + if ( date.isValid() ) + setText( i++, KGlobal::locale()->formatDate( date, true ) ); + else + setText( i++, "" ); + } else setText( i++, (*it)->value( mAddressee ) ); } The development of the old KAddressBook will be discontinued for KDE 4.4. Since the new application has the same name, but a completly new code base we close all bug reports against the old version and ask the submitters to resend there reports against the new product. |