diff --git a/lunar.js b/lunar.js index cce451205488d8dec913b9b7faf3e76d419f4bdf..7807492f5dbdd014d75a219900fa83ae55f0ad35 100644 --- a/lunar.js +++ b/lunar.js @@ -3990,9 +3990,10 @@ getMonthInChinese:function(){return this._p.lunar.getMonthInChinese();}, getDayInChinese:function(){return this._p.lunar.getDayInChinese();}, getFestivals:function(){ - var l=TaoUtil.FESTIVAL[this.getMonth()+'-'+this.getDay()]; - if(!l){ - l=[]; + var l = []; + var fest=TaoUtil.FESTIVAL[this.getMonth()+'-'+this.getDay()]; + if(fest){ + l = l.concat(fest); } var jq = this._p.lunar.getJieQi(); if('冬至'===jq){