emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Wei-Wei Guo <wwguocn@gmail.com>
To: Leo <sdl.web@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: How to set a entry with Chinese calender?
Date: Tue, 05 May 2009 21:53:12 +0800	[thread overview]
Message-ID: <4A0044C8.7010107@gmail.com> (raw)
In-Reply-To: <m03abk7vpr.fsf@cam.ac.uk>

Leo 写道:

Hi Leo,

 >
 > I ran into that question and have written a small package here:
 >
 > http://article.gmane.org/gmane.emacs.sources/3066/match=diary+chinese
 >

Your package is great!

And I notice two bugs. I think it's not bugs of your package.

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

  reply	other threads:[~2009-05-05 13:42 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-30  7:54 How to set a entry with Chinese calender? Wei-Wei Guo
2009-05-04 14:33 ` Carsten Dominik
2009-05-04 15:07 ` Leo
2009-05-05 13:53   ` Wei-Wei Guo [this message]
2009-05-05 15:00     ` Leo
2009-05-05 23:32       ` Wei-Wei Guo
2009-05-06  1:57         ` Leo
2009-05-06  2:05           ` Leo
2009-05-06  5:27           ` Wei-Wei Guo
2009-05-06  9:38             ` Leo
2009-05-06 10:40               ` Wei-Wei Guo
2009-05-06 13:51                 ` Leo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A0044C8.7010107@gmail.com \
    --to=wwguocn@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=sdl.web@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).