[Bug 298756] KAB calculates wrong age

qqqqqqqqq9 at gmeyer.df-kunde.de qqqqqqqqq9 at gmeyer.df-kunde.de
Mon Oct 1 19:50:51 BST 2012


https://bugs.kde.org/show_bug.cgi?id=298756

qqqqqqqqq9 at gmeyer.df-kunde.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |qqqqqqqqq9 at gmeyer.df-kunde.
                   |                            |de

--- Comment #1 from qqqqqqqqq9 at gmeyer.df-kunde.de ---
Hi, today on Octobre 1st 2012 kaddressbook report the following Birthday/age
combinations: (Jahre = Years)
23. November 1795  (217 Jahre alt)  vs 24. November 1795  (216 Jahre alt) 
 29. Oktober 1900  (112 Jahre alt) vs Dienstag, 30. Oktober 1900  (111 Jahre
alt)
Samstag, 22. November 1800  (212 Jahre alt) vs  23. November 1800  (211 Jahre
alt)

Possible Reason (Speculation by PovAddict ob #kontact)
kaddressbook  seems to be assuming there are 365 days in a year i. e. ignores
leap days.
e. g. (today - 1795/11/23) = 79205, which is an exact multiple of 365
or: (today - 1800/11/22) = 77380 days, which is an exact multiple of 365

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list