-
// 这里输出 26
echo (new Overtrue\ChineseCalendar\Calendar())->solar2lunar(1986, 5, 4)['lunar_day'];
// 这里还是输出 26
echo (new Overtrue\ChineseCalendar\Calendar())->solar2lunar(1986, 5, 5)['lunar_day'];…
-
```
console.log(solarLunar.solar2lunar(2020, 1, 25));
{ lYear: 2020,
lDay: 1,
animal: '鼠',
yearCn: '二零二零年',
monthCn: '正月',
dayCn: '初一',
cYear: 2020,
cMonth: 1,
cDay: 25,
…
-
可以支持农历格式吗
-
如下所示,其中的月份单独加一了。好像是calendar的月份是从0开始的?
PS: 我是用的lunar-typescript的库。
const showLunar = (date) => {
if (!date || !date.day) return;
const lunarObj = lunar.solar2lunar(date.year, date.month + 1, …
-
When I ran the sample of this library, this error was happened
```
solar2lunar.cpp:150:1: error: no return statement in function returning non-void [-Werror=return-type]
150 | }
```
If I chan…
-
如果是最新日期排盘 如2024年4月28日,大运显示2100年以后时间会报错误,Error: Invalid date,
lunarSkyGround: function lunarSkyGround(lunarYear, lunarMonth, lunarDay, isLeapMonth) {
var result = calendar_js_1.calendar.lunar…
-
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used [patch-package](https://github.com/ds300/patch-package) to patch `ant-design-vue@1.5.0-rc.6` for the project I'm workin…
-
solar2lunar: (y: number, m: number, d: number) => Solar2lunar | number
-
var lunarInfo = solarLunar.solar2lunar(2022, 5, 1)
2022.5.1日不显示为劳动节。
-
2020-07-13 对应的农历是闰月,返回的结果并不是闰月
ghost updated
5 years ago