correct spelling

This commit is contained in:
Chen Wei
2014-03-11 11:26:05 +08:00
parent 3d8c0884b6
commit 47e3af60c0
3 changed files with 9 additions and 9 deletions

View File

@@ -1,14 +1,14 @@
### Chinese Lunar Calender
### Chinese Lunar Calendar
Google, Apple, and Microsoft used to provide Chinese Lunar Calender in iCalender
Google, Apple, and Microsoft used to provide Chinese Lunar Calendar in iCalendar
format, but most links were died over years. It is become hard to find a usable
Chinese Lunar Calendar for use with online and offline calendar apps.
The Chinese Lunar Calender is mostly based on the motion of the Moon. It is
The Chinese Lunar Calendar is mostly based on the motion of the Moon. It is
said due to the complicate interaction, mostly from the Sun and the Earth, the
motion of Moon is very hard to predict, especially on the long run. Luckily
[Hong Kong Observatory][HK_Obs] has published a conversion table for the period
from 1901 to 2100. It is the most trustworthy Lunar Calender I can find on the
from 1901 to 2100. It is the most trustworthy Lunar Calendar I can find on the
web so far.
Lunar calendar beyond 1901-2100 range is generated by finding solar terms and
@@ -76,7 +76,7 @@ calendar, thunderbird + lightning插件, iphone/ipad, 安卓都支持。
下面是覆盖前年、今年以及明年三年的日历[ics文件][iCal]链接,把它加入到你最常用的软件就可以了。
[https://raw.github.com/infinet/lunar-calender/master/chinese_lunar_prev_year_next_year.ics][iCal]
[https://raw.github.com/infinet/lunar-calendar/master/chinese_lunar_prev_year_next_year.ics][iCal]
苹果设备上应该是:
设置 => 邮件、通讯录、日历 => 添加账户 => 其它 => 日历 添加已订阅日历
@@ -107,7 +107,7 @@ calendar, thunderbird + lightning插件, iphone/ipad, 安卓都支持。
[Contact me](mailto: weichen302@gmail.com)
[iCal]: https://raw.github.com/infinet/lunar-calender/master/chinese_lunar_prev_year_next_year.ics
[iCal]: https://raw.github.com/infinet/lunar-calendar/master/chinese_lunar_prev_year_next_year.ics
[HK_Obs]: http://data.weather.gov.hk/gts/time/conversion1_text_c.htm
[Screenshot]: http://infinet.github.io/images/lunar_calendar.jpg
[aa_full]: http://infinet.github.io/images/moon-sun-full_lea406_vsop87_compare_JPL.png

View File

@@ -153,7 +153,7 @@ def browser(proxy=None):
def parse_hko(pageurl):
''' parse lunar calender from hk Obs
''' parse lunar calendar from hk Obs
Args: pageurl
Return:
a string contains all posts'''
@@ -197,7 +197,7 @@ def update_cal():
def gen_cal(start, end, fp):
''' generate lunar calender in iCalendar format.
''' generate lunar calendar in iCalendar format.
Args:
start and end date in ISO format, like 2010-12-31
fp: path to output file

View File

@@ -59,7 +59,7 @@ MAXCACHE = 500 # max cached items
def find_astro(year):
''' find new moons and solar terms needed for calculate lunar calender
''' find new moons and solar terms needed for calculate lunar calendar
Arg:
year is a integer
Return: