1
0
mirror of synced 2025-12-15 01:28:02 +08:00

v1.2.11 恢复Solar中误删的getOtherFestivals方法。

This commit is contained in:
6tail
2021-10-23 17:53:19 +08:00
parent d231120fdf
commit 48b5e73de9
2 changed files with 11 additions and 1 deletions

View File

@@ -139,6 +139,16 @@
}
return l;
},
getOtherFestivals:function(){
var l = [];
var fs = SolarUtil.OTHER_FESTIVAL[this._p.month+'-'+this._p.day];
if(fs){
for(var i=0,j=fs.length;i<j;i++){
l.push(fs[i]);
}
}
return l;
},
getXingzuo:function(){
return this.getXingZuo();
},

View File

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