Bug 75494

Summary: only show birthdays when available
Product: kab3 Reporter: David Förster <david>
Component: generalAssignee: Tobias Koenig <tokoe>
Status: RESOLVED UNMAINTAINED    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In:

Description David Förster 2004-02-18 08:30:12 UTC
Version:            (using KDE KDE 3.2.0)
Installed from:    Debian stable Packages

When a contact doesn't have a birthday saved, the detailed view shows 'birthday: none'.
(translated) If there's no birthday, nothing should be displayed at all.
Comment 1 Tobias Koenig 2004-02-19 12:32:01 UTC
CVS commit by tokoe: 

Show birthday only when it is a valid date.
That fixes 75494 as well.

CCMAIL:75494-done@bugs.kde.org


  M +4 -3      addresseeview.cpp   1.14


--- kdepim/libkdepim/addresseeview.cpp  #1.13:1.14
@@ -141,7 +141,8 @@ void AddresseeView::updateView()
     QDate date = mAddressee.birthday().date();
 
+    if ( date.isValid() )
     dynamicPart += rowFmtStr
       .arg( KABC::Addressee::birthdayLabel() )
-      .arg( date.isValid() ? KGlobal::locale()->formatDate( date, true ) : i18n( "unknown" ) );
+        .arg( KGlobal::locale()->formatDate( date, true ) );
   }
 


Comment 2 Tobias Koenig 2009-08-05 16:05:44 UTC
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.