mathieustan / vue-datepicker

A clean datepicker made with VueJs
https://vue-datepicker.netlify.com/
MIT License
165 stars 48 forks source link

Proposal: Adding time support #21

Open guillaumebriday opened 4 years ago

guillaumebriday commented 4 years ago

Hey!

This package looks awesome 😍 It's so difficult to find a good looking datepicker with a good API. Thank you for your work! 👏

I might be wrong but there is not time support, right? I would like to select hours, minutes and seconds, do you consider to add it?

If not I could take time to start a PR and help a bit.

Thank you in advance

mathieustan commented 4 years ago

Hello @guillaumebriday.

Currently, there is no time support. From my point of view, I do not find that there is a good way to display time's choice in a datepicker. It's even more confusing.

But you can still add a select or an input somewhere.

guillaumebriday commented 4 years ago

Thank @mathieustan for your quick answer.

I think it's pretty important to have the option to select the time. If it's not in the same component it's hard to format the datetime and send it back to an API.

At this time I'm using this package https://chronotruck.github.io/vue-ctk-date-time-picker/. But i'm not convinced yet with the implementation of the style and theming.

The use cases for a date picker with a time select are almost unlimited.

What do you think ?

Thank you

mathieustan commented 4 years ago

I'll think about it for next version :)

guillaumebriday commented 4 years ago

That would be so nice

jmbtolentino commented 3 years ago

Hi @mathieustan! By any chance, is the requested feature available in the current version? Your package is great by the way :)

marcusrohden commented 3 years ago

Hey @mathieustan, I would also highly appreciate the option for time input.

neloydas commented 3 years ago

Hi, @mathieustan, I love this component too. But time selection option is the only thing that is stopping me from using it. Also after selection the date/time should be editable via editable prop. Currently I use this one: https://github.com/mengxiong10/vue2-datepicker. Although there is no option for attach and scroll proof in that component and it does not look as cool as yours.