Hello experts,
I have three conditions before enable a date and time:
1 - Full day disable, like holiday, which is already done at the propriety:
disabledDates
2 - Shop Closed - disabledHours:
[0, 1, 2, 3, 4, 5, 6, 20, 21, 22, 23, 24]
3 - Already busy date and time
On the third condition is the issue, How can I disable only the exactly time on the selected day?
Example of busy date/time:
- busy['2017-03-19 11:00', '2017-05-09 15:30']
- holidays['2017-12-31']
- $('#datetimepicker12').datetimepicker({
- inline: true,
- sideBySide: true,
- minDate: new Date(),
- format: 'DD-MM-YYYY H:m',
- disabledDates: holidays,
- disabledHours: [0, 1, 2, 3, 4, 5, 6, 20, 21, 22, 23, 24]
- });
Also, is it possible use a tooltip with an information like "Christmas Day" hover the disable day?
Thank you.