1
0
mirror of synced 2025-12-14 17:18:03 +08:00

v1.2.29 每日宜忌支持2种流派。

This commit is contained in:
6tail
2022-03-26 10:19:27 +08:00
parent 98fb502c02
commit 66d16db39e
2 changed files with 5 additions and 5 deletions

View File

@@ -1174,11 +1174,11 @@
}
return LunarUtil.POSITION_TAI_MONTH[m-1];
},
getDayYi:function(){
return LunarUtil.getDayYi(this.getMonthInGanZhiExact(),this.getDayInGanZhi());
getDayYi:function(sect){
return LunarUtil.getDayYi(2 == sect ? this.getMonthInGanZhiExact() : this.getMonthInGanZhi(), this.getDayInGanZhi());
},
getDayJi:function(){
return LunarUtil.getDayJi(this.getMonthInGanZhiExact(),this.getDayInGanZhi());
getDayJi:function(sect){
return LunarUtil.getDayJi(2 == sect ? this.getMonthInGanZhiExact() : this.getMonthInGanZhi(), this.getDayInGanZhi());
},
getDayJiShen:function(){
return LunarUtil.getDayJiShen(this.getMonth(),this.getDayInGanZhi());

View File

@@ -1,6 +1,6 @@
{
"name": "lunar-javascript",
"version": "1.2.28",
"version": "1.2.29",
"description": "lunar is a calendar library for Solar and Chinese Lunar.",
"main": "index.js",
"scripts": {