-
refactor Datepicker to render subcomponents in template instead of creating new Vue instances
-
Patch Chromium bug
-
Don't use includes to make IE happy and avoid Polyfill
-
use date.toLocaleDateString to format year/month
-
refactor and reduce code logic
-
Return empty string if the date input doesn't parse
-
remove Array.find to make IE11 happy
-
Add week start (locale setting)
-
Refactor cell click handler and add more date picker and date range picker tests
-
Added `cell.date` so we don’t need `. getDateOfCell()` anymore Passed `cell` directly in `@click="handleClick(cell)”` so we don’t need `const cell = this.cells[parseInt(event.target.getAttribute('index’))];` anymore
-
Broken initial scroll in time-picker with steps
-
Date utility functions `prevMonth` and `nextMonth` change the source date when using `src.set[Date|Month|FullYear]()`. This change creates a copy of the date at entrance of function so we have a pure function. Made some code refactor and added specs for these functions.