From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Subject: Re: How to set a entry with Chinese calender? Date: Tue, 05 May 2009 16:00:04 +0100 Message-ID: References: <49F9591D.2010101@gmail.com> <4A0044C8.7010107@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: 8bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M1M8G-0002Y6-KB for emacs-orgmode@gnu.org; Tue, 05 May 2009 11:00:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M1M8C-0002Ua-3n for emacs-orgmode@gnu.org; Tue, 05 May 2009 11:00:32 -0400 Received: from [199.232.76.173] (port=48443 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M1M8C-0002UK-0q for emacs-orgmode@gnu.org; Tue, 05 May 2009 11:00:28 -0400 Received: from main.gmane.org ([80.91.229.2]:58170 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M1M8B-0006S5-GE for emacs-orgmode@gnu.org; Tue, 05 May 2009 11:00:27 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1M1M80-0004PG-PQ for emacs-orgmode@gnu.org; Tue, 05 May 2009 15:00:16 +0000 Received: from sl392.st-edmunds.cam.ac.uk ([131.111.223.202]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 May 2009 15:00:16 +0000 Received: from sdl.web by sl392.st-edmunds.cam.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 May 2009 15:00:16 +0000 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org On 2009-05-05 14:53 +0100, Wei-Wei Guo wrote: > And I notice two bugs. I think it's not bugs of your package. I assume you mean without loading cal-china-plus, the follow restults still stand. Could you investigate more and report those bugs to emacs-devel? The author of calendar.el is actually an expert in this field, it is good to have him reviewing this. > 1. The calculation of Chinese year is 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. > > 2. Month of Chinese date is not right. > > Due to the conversion of http://www.nongli.com/item3/searchNL.asp, 2009.5.5 > is "¼º³ó Îì³½ ¸ýÐç", but Emacs Calender gives : > > Chinese date: Cycle 78, year 26 (¼º³ó), month 4 (¼ºËÈ), day 11 (¸ýÐç) > > It seems it converts one month late. > > > Best wishes, > Wei-Wei Best wishes, -- .: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :.