7090: wrong age for dead people reported by webcal
svn: r23306
This commit is contained in:
parent
df8ec14bcf
commit
a39ea168ab
@ -1697,7 +1697,7 @@ def get_day_list(event_date, holiday_list, bday_anniv_list):
|
|||||||
|
|
||||||
# number of years for birthday, ex: 10 years
|
# number of years for birthday, ex: 10 years
|
||||||
age_str = event_date - date
|
age_str = event_date - date
|
||||||
age_str.format(precision = 1)
|
age_str.format(precision = 1, as_age=False)
|
||||||
|
|
||||||
# a birthday
|
# a birthday
|
||||||
if event == 'Birthday':
|
if event == 'Birthday':
|
||||||
|
Loading…
Reference in New Issue
Block a user