DateTimePicker icon indicating copy to clipboard operation
DateTimePicker copied to clipboard

Is it possible to limit hours in the datetime fields?

Open ssladkov opened this issue 4 years ago • 0 comments

Hello. Your plugin is awesome! Thank you for that!

But I don't understand how to limit hours. I have start and end 'datetime' fields, when I'm clicking hours or minutes it will change the date if selecting time more than 23:59 or less than 00:00. Is it possible to make such behavior with limited hours? e.g. I have working hours from 09:00 to 21:00, and a user should not be able to choose hours out of this period (date will change if selecting time is less than 09:00 or more than 21:00).

ssladkov avatar Jan 29 '21 17:01 ssladkov