6tail
6tail
法定节假日根据国务院通知更新的,目前没有2025年的数据。
不支持。
> `eg:Lunar.fromYmd(2024, 10, 10).getSolar()` 类似这种计算新历的日期有错误 哪里错了?你认为对的是什么呢?
大部分都有,先看文档的八字章节。https://6tail.cn/calendar/lunar.bazi.html
请仔细阅读文档,Lunar.fromYmd的参数是农历年月日,不是公历年月日。你需要Solar.fromYmd得到公历日对象,再转农历日。
没有。
网上找的数据,可能是被误合并了。。
import { Solar } from 'lunar-typescript'; console.log(typeof Solar); console.log(Solar);