A JavaScript component that is a date & time range picker, no need to build, no dependencies except Moment.js, that is based on Dan Grossman's bootstrap-daterangepicker.
I have a similar use for the date range picker, but a bit more advanced.
I would like to preset all vacation and weekend days as not being valid dates throughout the whole year (read from a CSV file). Just before displaying the date range picker, all non-valid dates should be highlighted (grayed out in customizable color).
When scrolling through the next month, the same routine should be used, meaning that you would visually see the dates that are not allowed as valid dates.
Perhaps reading from a CSV file is too slow, so I would suggest pre-setting some 365-day ExclusionArray (which of course needs to be filled only once by means of the CSV file).
I asked Dan Grossman also about it.
I have a similar use for the date range picker, but a bit more advanced.
I would like to preset all vacation and weekend days as not being valid dates throughout the whole year (read from a CSV file). Just before displaying the date range picker, all non-valid dates should be highlighted (grayed out in customizable color). When scrolling through the next month, the same routine should be used, meaning that you would visually see the dates that are not allowed as valid dates.
Perhaps reading from a CSV file is too slow, so I would suggest pre-setting some 365-day ExclusionArray (which of course needs to be filled only once by means of the CSV file).