1
0
mirror of synced 2026-04-20 07:18:41 +08:00

修复阳历推移丢失时分的问题

This commit is contained in:
6tail
2020-04-17 00:06:35 +08:00
parent c9b4b9278f
commit bf907847e2

View File

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