Copyright © 2023 MIT License. | Design and development by Yury Uvarov.
💢 Usage example — a website example for searching for flight tickets and hotels using vanilla-calendar.

Additional features

Time Selection Options

By default, time selection is disabled, but you can easily enable it and configure it to meet your needs.

12-Hour Time with AM/PM

You can enable the 12-hour time format and add AM/PM markers.

24-Hour Time

If you need a 24-hour time format without AM/PM, you can configure it as follows.

Setting Your Own Time

You can set the initial time when initializing the calendar. For a 24-hour day, you don't need to specify an AM/PM marker.

Time Step Control

In addition, you can configure the time step for minutes and hours. You can also disable manual input of time in the input field.