From 3810167f2cb34d4d3210afa44c0091213f9eabc9 Mon Sep 17 00:00:00 2001 From: Maorey Date: Mon, 10 Sep 2018 14:32:14 +0800 Subject: [PATCH] =?UTF-8?q?Mod:=20=E7=A4=BA=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/index.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/test/index.html b/test/index.html index 47d86ba..305013a 100644 --- a/test/index.html +++ b/test/index.html @@ -26,10 +26,10 @@ container: '#start_date', type: 'time', done: function (value, date) { - setAtts(end.config.min, date || { - hours: 0, - minutes: 0, - seconds: 0 + setAtts(end.config.min, { + hours: date.hours || 0, + minutes: date.minutes || 0, + seconds: date.seconds || 0 }); } }); @@ -39,9 +39,9 @@ type: 'time', done: function (value, date) { setAtts(start.config.max, date || { - hours: 23, - minutes: 59, - seconds: 59 + hours: date.hours || 23, + minutes: date.minutes || 59, + seconds: date.seconds || 59 }); } });