nathanreyes / v-calendar

An elegant calendar and datepicker plugin for Vue.
https://vcalendar.io
MIT License
4.36k stars 848 forks source link

Formatting time and limiting hours #701

Open nik736 opened 3 years ago

nik736 commented 3 years ago

Hi there! Thanks for this awesome library.

I am using the "dateTime" mode with the 24hr option. The time picker label is displayed as: "Fr Nov 6 2020", I would like to restructure it to be "Fr 06.11.2020", is something like this possible currently?

Additionally I would like to limit the hours that are selectable, for example when thinking about opening hours it would be great to limit the hours that are selectable dynamically. Is something like this possible or on the roadmap?

Thanks again! :)

stephan-v commented 3 years ago

I was also looking to limit the selectable hours for the timepicker. This would be an ideal solution if this would be implemented. Does anyone know if there is a quick fix(possibly hacky) to get this working?

vanrijs commented 3 years ago

+1 on hour management.

PJD260 commented 3 years ago

Would also like to have some hour management options. It would be ideal to be able to have opening hours