From bf907847e2595a24378bcb2d67e0e8dcda752e0f Mon Sep 17 00:00:00 2001 From: 6tail <6tail@6tail.cn> Date: Fri, 17 Apr 2020 00:06:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=98=B3=E5=8E=86=E6=8E=A8?= =?UTF-8?q?=E7=A7=BB=E4=B8=A2=E5=A4=B1=E6=97=B6=E5=88=86=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lunar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lunar.js b/lunar.js index 821e05e..583c38d 100644 --- a/lunar.js +++ b/lunar.js @@ -105,7 +105,7 @@ return s; }, next:function(days){ - var date = new Date(this._p.year+'/'+this._p.month+'/'+this._p.day); + var date = new Date(this._p.year+'/'+this._p.month+'/'+this._p.day+' '+hour+':'+minute); date.setDate(date.getDate()+days); return _fromDate(date); },