The calendar is written using the React library. Can be used both as a common calendar, and as a date time picker with range. There is a possibility to choose a date by days, months, years and decades. The date can be changed in the input.
git clone https://github.com/YozhikM/dtpicker.git
To use static typing, make sure that you have installed Flow.
Highlights the days. By default is
new Date(). It can be a single date or an array of dates
Displayed months on the calendar. By default is
When the value is set to
true, the time in hours and minutes will be displayed, as well as the ability to change it. By default is
When set to
true, a single calendar will be displayed without the ability to select a date range. By default is
To work with dates, use the library date-fns. Localization can be changed in a file