1
0
mirror of synced 2026-04-27 18:58:42 +08:00

新增时辰冲煞、时辰宜忌

This commit is contained in:
6tail
2020-05-28 23:11:02 +08:00
parent 3db4b10dc5
commit cab5e6eb81
2 changed files with 19 additions and 1 deletions

View File

@@ -1626,6 +1626,9 @@
}
index = right.indexOf(day+'=');
}
if(l.length<1){
l.push('无');
}
return l;
},
getDayJi:function(monthGanZhi,dayGanZhi){
@@ -1660,6 +1663,9 @@
}
index = right.indexOf(day+'=');
}
if(l.length<1){
l.push('无');
}
return l;
},
getDayJiShen:function(lunarMonth,dayGanZhi){
@@ -1678,6 +1684,9 @@
l.push(this.SHEN_SHA[parseInt(m, 16)]);
}
}
if(l.length<1){
l.push('无');
}
return l;
},
getDayXiongSha:function(lunarMonth,dayGanZhi){
@@ -1696,6 +1705,9 @@
l.push(this.SHEN_SHA[parseInt(m, 16)]);
}
}
if(l.length<1){
l.push('无');
}
return l;
},
getTimeYi:function(dayGanZhi,timeGanZhi){
@@ -1714,6 +1726,9 @@
l.push(this.YI_JI[parseInt(m, 16)]);
}
}
if(l.length<1){
l.push('无');
}
return l;
},
getTimeJi:function(dayGanZhi,timeGanZhi){
@@ -1732,6 +1747,9 @@
l.push(this.YI_JI[parseInt(m, 16)]);
}
}
if(l.length<1){
l.push('无');
}
return l;
}
};

View File

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