Browse Source

Revert "docs: fix DatePicker start end demo"

This reverts commit b9120980fb.
pull/9225/head
Wei Zhu 7 years ago
parent
commit
17e26ecb71
  1. 2
      components/date-picker/demo/start-end.md

2
components/date-picker/demo/start-end.md

@ -40,7 +40,7 @@ class DateRange extends React.Component {
if (!endValue || !startValue) {
return false;
}
return endValue.clone().endOf('day') <= startValue.valueOf();
return endValue.valueOf() <= startValue.valueOf();
}
onChange = (field, value) => {

Loading…
Cancel
Save