On 2009-05-06 00:32 +0100, Wei-Wei Guo wrote:
>>> 1. The calculation of Chinese year is not right.
>>>
>>> For example, if I born in 1982.11 of *solar* calendar and my father born
>>> in 1952.12 of *lunar* calendar. My age is calculated as 27 and my father's
>>> age is calculated as 58, which should be 57. Because my father's birthday
>>> is in the next year of *solar* calender, his age is calculated one year
>>> more.
>>>
>
> This bug cannot be reproduced without loading cal-china-plus for it uses the
> diary-chinese-anniversary of your package. For example.
>
> %%(diary-anniversary 11 1 1982) I'm %d years old.
> %%(diary-chinese-anniversary 12 1 1952) Dad is %d years old.
>
> Could you give me some hints on how to present the bug without your package?

How do you make calendar show the age of your father?

I put %%(diary-chinese-anniversary 12 1 1952) in my diary file and on
2008.12.27 (solar calendar), it says '56 years old', isn't this correct?

There are different ways of counting ages. The diff var in the
diary-chinese-anniversary holds the age value.

Incidentally I found a bug in diary-chinese-anniversary. Could you test
the attached version?

Attachment: cal-china-plus.el
Description: cal-china-plus.el

Thanks,
-- 
.: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :.
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to