-
如 小寒首日实际是2024-01-06 ,运行结果是2024年1月7日
-
要满足真实场景使用的话,有小部分数据是需要修正的(如繁简转换,属相不准确等)。我自己通过数据库方式做了修正,语句如下:
`CREATE TABLE `tmp_calendar` (
`day` varchar(255) DEFAULT NULL,
`gregorianYear` varchar(255) DEFAULT NULL,
`gregorianMonth` varc…
yindz updated
3 years ago
-
比如说传个年份
期望结果
年 -月-日 节气:时:分:秒 可自定义
2021-07-07 小暑:05:05:28
2021-07-22 大暑:22:26:25
2021-08-07 立秋:14:53:58
2021-08-23 处暑:05:34:58
2021-09-07 白露:17:52:56
2021-09-23 秋分:03:21:5
2021-10-08 寒露:09:39…
-
比如23年4月8日当天属于清明节,春分换清明时间为4日,相对前个节气的日期距离为4。19日清明换谷雨,则19-8=11天,相对下个节气的日期距离为11
-
Calendar中有24节气(solarTerm),公历节日(gregorianFestival),农历节日(traditionFestival),但是无特殊节日对象,外部无法获取,可提供方法吗
-
目前已经制作了两个演示案例:
演示案例一:
这个演示较为简单,把一篇科普文章的图文套到了一个特效较少的场景里。
原始素材:http://www.guokr.com/article/410696/
演示地址(使用手机访问):http://www.mindpin.com/slider/sample/
![](http://img.teamkn.com/qr/UVXuJp.png)
演示案例二:
这…
-
![image](https://user-images.githubusercontent.com/41613258/106433242-e12d6a80-64aa-11eb-84be-b680622d9bdd.png)
农历节日计算的有问题,2021年02月10日并不是除夕。
问题出在这个方法上
----------------------------------------------…
-
如果是最新日期排盘 如2024年4月28日,大运显示2100年以后时间会报错误,Error: Invalid date,
lunarSkyGround: function lunarSkyGround(lunarYear, lunarMonth, lunarDay, isLeapMonth) {
var result = calendar_js_1.calendar.lunar…
-
This is the traditional Chinese lunar calendar, which divides the year into 24 phase according to longitude of sun.
https://en.wikipedia.org/wiki/Solar_term
![Group+36596](https://github.com/ar…
-
通过接口获取到的24节气,数量是没错的,但是部分节气重复出现了,以23年为例,大雪,立夏都重复了,而立春则没有出现