Bug 75494 - only show birthdays when available
Summary: only show birthdays when available
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kab3
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Debian stable Linux
: NOR wishlist
Target Milestone: ---
Assignee: Tobias Koenig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-18 08:30 UTC by David Förster
Modified: 2009-08-05 16:05 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.