Convert lunar and solar dates
convert_lunar_solarConverts a date between the Gregorian calendar and the Vietnamese lunar calendar (with leap months, 1900–2100), and gives the can chi of the day, month and year plus the solar term.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | YYYY-MM-DD; for lunar_to_solar this is the lunar year, month and day | |
| direction | Yes | ||
| leap_month | No | lunar_to_solar only: true if the lunar month is a leap month |