Vuepic / vue-datepicker

Datepicker component for Vue 3
https://vue3datepicker.com
MIT License
1.48k stars 147 forks source link

Min-time/max-time limits not working for minutes with tz #778

Closed iCascada closed 7 months ago

iCascada commented 7 months ago

Describe the bug Hi guys. When configuring the time picker, the set limits for minutes do not work properly. At the same time, the hours reacts correctly.

To Reproduce

  1. Go to your Datepicker playground
  2. Set model with a time zone different from the system one
  3. Enable the min-time or max-time by adding the prop (ex: :min-time="{ hours: 11, minutes: 30 }")
  4. Open the datepicker
  5. Pay attention to the minutes, there will be no any restrictions

Besides, the problem is reproduced on the documentation page Link

Expected behavior Prop should sets the minimal available time to pick for minutes including.

Desktop & mobile (please complete the following information):

Jasenkoo commented 7 months ago

Everything seems ok. Playground