mirror of
https://github.com/infinet/lunar-calendar.git
synced 2026-01-12 21:17:00 +08:00
update readme
This commit is contained in:
16
README.md
16
README.md
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user