amsul / pickadate.js

The mobile-friendly, responsive, and lightweight jQuery date & time input picker.
http://amsul.ca/pickadate.js
MIT License
7.7k stars 1.01k forks source link

Time picker disable wrong range #1114

Open lgwozniak opened 5 years ago

lgwozniak commented 5 years ago

I have an example:

and the time 15:45 is disabled, which shouldn't be. Is this common problem ?

DanielRuf commented 5 years ago

Please show us your config and provide a working codepen.

lgwozniak commented 5 years ago

I'm using 3.5.6 library.

https://codepen.io/anon/pen/NEKvXo

lgwozniak commented 4 years ago

Any progress with this bug ?

DanielRuf commented 4 years ago

As you can see I did not check that further. Your demo has all options enabled + interval 15 minutes. Is this the reproducible testcase?

lgwozniak commented 4 years ago

i got this problem all the time. I found a workaround in the form of rounding to a given interval, but this is not the best solution.

DanielRuf commented 4 years ago

At least the from - to demo does not work with the current 3.6.4 version: https://amsul.ca/pickadate.js/time/#disable-times-use-ranges

I think it is a rounding problem that is still not fixed.

https://codepen.io/DanielRuf/pen/MWKgmBj

But v3 is not developed anymore, v5 is the current and latest version.

lgwozniak commented 4 years ago

Thanks for information. v5 is in alpha, I can't use it on production.