UNPKG

app-datepicker

Version:

Google Material Design based date picker built with lit

4 lines (3 loc) 99 B
export function toDayDiffInclusive(min, max) { return 1 + Math.floor((+max - +min) / 864e5); }