1.0.4 • Published 2 years ago

dayjs-range-extend v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Description

Installation

$ npm i --save dayjs-range-extend

How to use

import dayjsRange from 'dayjs-range-extend';

const date_range_first = dayjsRange('2022-01-01', '2022-01-05');
const date_range_second = dayjsRange('2022-01-04', '2022-01-10');

console.log(
  date_range_first.isOverlap(date_range_second);
); // => true

Documentaion

Link