Browse Source

hours array should be from 0 to 23, not 0 to 59 (#4157)

pull/4151/head
kdenz 8 years ago
committed by Wei Zhu
parent
commit
aab32236c6
  1. 2
      components/date-picker/demo/disabled-date.md

2
components/date-picker/demo/disabled-date.md

@ -32,7 +32,7 @@ function disabledDate(current) {
function disabledDateTime() { function disabledDateTime() {
return { return {
disabledHours: () => range(0, 60).splice(4, 20), disabledHours: () => range(0, 24).splice(4, 20),
disabledMinutes: () => range(30, 60), disabledMinutes: () => range(30, 60),
disabledSeconds: () => [55, 56], disabledSeconds: () => [55, 56],
}; };

Loading…
Cancel
Save