This module makes the end date field in a date range field type optional. It adds a checkbox to the field's storage settings, allowing users to create date ranges without specifying an end date. This functionality is intended to be a temporary solution until Drupal core implements the same feature.
Make the end date in a Date range field (DateRangeItem) optional.
An extra "Optional end date" checkbox is added to the Date range field type
Storage settings. When the box is checked, the end date is no longer required.
This will mimic the behavior of optional end dates in future Drupal versions. So when
#2794481: Allow end date to be optional is ready, you should be able to uninstall this module after updating, and
use the core implementation instead.
See https://www.drupal.org/project/drupal/issues/2794481 for more information
about the core implementation.
Ask your assistant about Optional End Date
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
- datetime_range Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 2.0.0 | Stable | 10–11 | Sep 7, 2026 | ||
| 2.0.0-beta2 | Pre-release | 10–11 | Jan 12, 2026 | ||
| 2.0.0-beta1 | Pre-release | 10–11 | Sep 20, 2024 | ||
| 2.0.x-dev | Dev | 10–11 | Sep 13, 2024 | ||
| 8.x-1.4 | Stable | 8–11 | Sep 13, 2024 |