Skip to content
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.

Commit

Permalink
Mod: 示例
Browse files Browse the repository at this point in the history
  • Loading branch information
Maorey committed Sep 10, 2018
1 parent 27cc176 commit 3810167
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions test/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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
});
}
});
Expand All @@ -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
});
}
});
Expand Down

0 comments on commit 3810167

Please sign in to comment.