Vuepic / vue3-date-time-picker

Datepicker component for Vue 3
https://vue3datepicker.com
MIT License
158 stars 13 forks source link

Start time can be after end time when start and end day are the same #102

Closed ghost closed 2 years ago

ghost commented 2 years ago

Describe the bug When using range and the start date is on the same day as the end date, the time picker allows to select a time on the start date that is after the time of the end date.

To Reproduce Steps to reproduce the behavior:

  1. Create a datetimepicker component
  2. Set the range=true prop
  3. Set a start & end date on a same day
  4. Open the time selector
  5. It is now possible to set the start time after the end time

Expected behavior It should not be possible to select a start time on the same day as the end day that is after the end time.

Screenshots

Bildschirmfoto 2022-02-18 um 16 55 12

Desktop (please complete the following information):

Additional context n/a