emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: How to set a entry with Chinese calender?


From: Leo
Subject: [Orgmode] Re: How to set a entry with Chinese calender?
Date: Wed, 06 May 2009 02:57:59 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.93 (darwin)

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 :.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]