-
-
Notifications
You must be signed in to change notification settings - Fork 405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disabled time not checking for PM timing #664
Comments
which version do you use? And can you should you code with more detail? |
Vue2-datepicker version: 3.9.2 time reproduce: 3:00 PM Set
Expected behavior AM selection is disabled Actual behavior |
You can use v3.10.x. |
Thanks for feedback. I have fixed it in 3.10.4 |
<date-picker v-model="newDate" :value-type="YYYY-MM-DD hh:mm A" :format="hh:mm A" :type="time" :default-value="defaultDate" :disabled-time="disableTime"></date-picker>
I set the var disableTime to Tue Nov 30 2021 15:39:00 GMT+0800 and my newDate to 2021-11-30 00:00 AM. All the selection for timepicker dropdown is being disabled, and the date param for the disableTime, it only return me date time from 1 -12 AM, even i set the disabled to be 15:39PM, How can i check for PM timing?
The text was updated successfully, but these errors were encountered: