-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Hi,
Right now, when you select a date, the time is always the current time. This is fine in the majority of the cases.
But, I think it would be useful if we could set the time of the date that is emitted to v-model.
Context: I have a project where we have a lot of datepickers for "from" and "until" dates.
We always want to force the time of "from" dates to 00:00:00 and "until" dates to 23:59:59. Currently we always have to modify it after the date was picked.
This feature would be pretty handy for this 🥇
Here are my 2 proposals:
- Have 1 optional prop named
set-time, which would accept a string in format HH:MM:SS - Have 3 optional props, one for each unit:
set-hours, which would accept an integer from 0 to 23.set-minutes, which would accept an integer from 0 to 59.set-seconds, which would accept an integer from 0 to 59.
Thanks!
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request