fix(Calendar): fix time

This commit is contained in:
nemo-shen 2021-12-14 00:06:06 +08:00 committed by neverland
parent 71962ce369
commit 84b8b086a7

View File

@ -4,6 +4,9 @@ var utils = require('./utils.wxs');
function getMonths(minDate, maxDate) {
var months = [];
var cursor = getDate(minDate);
cursor.setHours(0);
cursor.setMinutes(0);
cursor.setSeconds(0);
cursor.setDate(1);