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); },