mariomka / vue-datetime

Mobile friendly datetime picker for Vue. Supports date and datetime modes, i18n and more.
http://mariomka.github.io/vue-datetime
MIT License
986 stars 245 forks source link

How to disable time in date time picker. I was passing time along with date in min :min-datetime #54

Open iamsandeepkumarmandal opened 6 years ago

iamsandeepkumarmandal commented 6 years ago

Versions

Description:

Steps To Reproduce:

Including a reproduction would be great. You can fork this fiddle: https://jsfiddle.net/ofc30uv3/

kossa commented 6 years ago

Alright, I need this feature too, any update @mariomka ?

mariomka commented 6 years ago

Do you want to preserve time in date time picker? There is no way at this moment.

iamsandeepkumarmandal commented 6 years ago

I wanted to restrict the time . Example: Disable time from 9:00am to 5:00pm in time picker.

On Mon, Jul 9, 2018, 3:26 PM Mario Juárez notifications@github.com wrote:

Do you want to preserve time in date time picker? There is no way at this moment.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mariomka/vue-datetime/issues/54#issuecomment-403425754, or mute the thread https://github.com/notifications/unsubscribe-auth/Af-6z6uyivFRO9FYf8U6lr2KvjlnamN7ks5uEyjUgaJpZM4SrwLn .

mariomka commented 6 years ago

There is no way either at this moment.

iamsandeepkumarmandal commented 6 years ago

Thanks for the response. Can we expect this feature in anytime near future?

On Mon, Jul 9, 2018, 3:32 PM Mario Juárez notifications@github.com wrote:

There is no way either at this moment.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mariomka/vue-datetime/issues/54#issuecomment-403427397, or mute the thread https://github.com/notifications/unsubscribe-auth/Af-6z8pJn5v1ZD2_3zMxrVpD0KVEbeYAks5uEyo2gaJpZM4SrwLn .

mariomka commented 6 years ago

I have no time, if anyone wants to do in a PR it will be appreciated.