This module provides a user-friendly date and time picker form element for Drupal. It enhances both single datetime and datetime range fields, offering features like customizable time formats, minute granularity, disabling specific days or dates, theme options, and inline display.
Date time picker form element using the xdan jQuery Plugin Date and Time Picker library.
It supports date/time and date fields. You can use it on Datetime and Datetime Range fields.
MODULE INSTALLATION
Install the Drupal module as usual.
LIBRARY INSTALLATION
For this module to be operational you need to install 3rd party plugin (DateTimePicker - jQuery plugin select date and time).
See the module's README.md for further details on how to install the library.
USAGE
On content type go under “Manage form display” and
for date field select Single Date Time Picker.
FEATURES
- Support Datetime and Datetime Range field types
- 12/24 hour format display
- Option to choose granularity for minutes
- Option to disable specific days global (etc. Saturday)
- Option to disable specific dates, useful for holidays, working days, etc..
- Choose between light and black theme
- Display date and time picker inline
Ask your assistant about Single DateTimePicker
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 2.0.0-beta2 | Pre-release | 9–11 | Jun 1, 2024 |