Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Partial Datelist

Security covered Under active development 87 sites

Part of the Partial ecosystem · 5 projects

This module lets you customize date and time input fields to show only the parts you need, like just the year or month. It simplifies forms by hiding unwanted dropdown menus for date and time selection.

The Partial Datelist module allows site administrators to customize the visibility of the Select list widget by deactivating individual parts of date and date/time components (e.g., year, month, day, hour, minute, second) both in Date and Date Range fields. This is particularly useful for scenarios where only specific parts of a date or time need to be collected (e.g. year only, or year/month).

By integrating with Drupal's widget configuration interface, this module enhances date entry flexibility by providing an intuitive way to hide unwanted dropdowns for simple date and date/time widgets, as well as range fields.

Features

  • Hide specific date parts (e.g., year, month, day) or time parts (e.g., hour, minute, second) in the "Select list" widget.
  • Compatible with both Datetime and Datetime Range field types.
  • Easy configuration through the field widget settings interface.
  • Improves user experience by simplifying date input forms.
  • This module is ideal for use cases where collecting partial date or time information is sufficient, such as year-only fields for historical records.

Upgrading

Version 1.1.x drops this module's outdated procedural hook functions in favor of PHP attribute-based hook implementations (#[Hook]). For those who are upgrading form a previous version (1.0.x), make sure to run database updates (drush updb or visit update.php) right after deploying this version: until that runs, the site may still be relying on a cached reference to the removed functions, thus causing the website to error out.

Drupal 11 · not 10

Ask your assistant about Partial Datelist

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 Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
7
Tracked since
Apr 2025
Latest release
2 months ago
Releases (12 mo)
1 ▼ from 6
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
1.1.0 Stable 11 Jul 25, 2026
1.0.0 Stable 10–11 May 20, 2025
1.0.0-beta5 Pre-release 10–11 May 20, 2025
1.0.0-beta4 Pre-release 10–11 May 20, 2025
1.0.0-beta3 Pre-release 10–11 May 16, 2025
1.0.0-beta2 Pre-release 10–11 May 13, 2025
1.0.0-beta1 Pre-release 10–11 Apr 29, 2025