From 48b5e73de9d7dfba3fd588cb6b63684cb20147aa Mon Sep 17 00:00:00 2001 From: 6tail <6tail@6tail.cn> Date: Sat, 23 Oct 2021 17:53:19 +0800 Subject: [PATCH] =?UTF-8?q?v1.2.11=20=E6=81=A2=E5=A4=8DSolar=E4=B8=AD?= =?UTF-8?q?=E8=AF=AF=E5=88=A0=E7=9A=84getOtherFestivals=E6=96=B9=E6=B3=95?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lunar.js | 10 ++++++++++ package.json | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/lunar.js b/lunar.js index c6ab633..84c75c2 100644 --- a/lunar.js +++ b/lunar.js @@ -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