[Top][All Lists]

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

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

From: Wei-Wei Guo
Subject: Re: [Orgmode] Re: How to set a entry with Chinese calender?
Date: Wed, 06 May 2009 13:27:47 +0800
User-agent: Thunderbird (X11/20090302)

Leo 写道:
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

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?

Saturday   27 December 2008
  Birthday:   Dad is 56 years old.

Friday     15 January 2010
  Birthday:   Dad is 58 years old.

There is no '57 years old'.

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?

The new version cause .org very slow and shows "Bad sexp at line 36 in ...". 
do you want to test?

Best wishes,

reply via email to

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