v1.2.29 每日宜忌支持2种流派。
This commit is contained in:
8
lunar.js
8
lunar.js
@@ -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());
|
||||
|
||||
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user