bevacqua / rome

:calendar: Customizable date (and time) picker. Opt-in UI, no jQuery!
https://bevacqua.github.io/rome
MIT License
2.91k stars 223 forks source link

Select a range of dates and times & select multiple dates and times #220

Open trymeouteh opened 5 months ago

trymeouteh commented 5 months ago

Would like to suggest adding a way to select a range of dates and times and also adding multiple dates and times. For example users can select the following...

Ranges

2024-03-12 - 2024-03-17
09:15 - 17:45
2024-03-12T09:15 - 2024-03-22T12:35

Would be very useful for inline calendars since using two calendars for a range is not UI friendly compared to using one calendar. The inputFormat can output something like 2024-02-14 12:30 - 2024-03-11 15:45

Multiple

2024-03-12, 2024-03-22, 2024-04-02
09:15, 12:35, 17:45
2024-03-12T09:15, 2024-03-12T17:45, 2024-03-22T12:35