update readme

This commit is contained in:
Chen Wei
2014-03-30 16:25:10 +08:00
parent 10305049d7
commit eb7acb8c21

View File

@@ -110,20 +110,22 @@ file, which covers from the previous to the end of next year.
Try the Chinese Lunar Calendar by add this [ics file][iCal] to your favorite Try the Chinese Lunar Calendar by add this [ics file][iCal] to your favorite
calendar app. calendar app.
start and end date can also be specified as command line options, for example start and end date can also be specified as command line options, for example:
`lunar_ical.py --start=1990-01-01 --end=2001-01-01` ./lunar_ical.py --start=1990-01-01 --end=2001-01-01
The date must in ISO format. The date must in ISO format.
There is a C version under *c subdirectory*, run `make` to generate the There is also a C version. Run `make` to generate the executable `lunarcal`. Run
executable `lunarcal`. Run `lunarcal` with year with print out the Chinese Lunar `lunarcal` with year with print out the Chinese Lunar Calendar to terminal, for
Calendar to terminal, for example example:
./lunarcal 2014
`lunarcal 2014`
or or
`lunarcal 2014 2016`
./lunarcal 2014 2016
[Contact me](mailto: weichen302@gmail.com) [Contact me](mailto: weichen302@gmail.com)