Unified Date
This module allows you to sort different content types by various date fields in a unified way. It syncs selected date fields from different content types into a new "unified_date" field, making it easier to sort and display them consistently in views and other applications.
This module is useful if you want to sort multiple content types in a unified list that have different date fields. For example:
1. Publications: Publication Date (added field)
2. Articles: Created Date (base field)
3. Events: End Date (added field)
4. Job vacancies: Application Deadline (added field)
You select which fields are the fields for the 'Unified Date' and this module syncs those fields into the new 'unified_date' base field that it creates. You can then for instance sort Views, Search, Recent Related Content, etc by that date.
Features
Configure per node bundle which field should be stored in the Unified Date. If not set, it defaults to the Created date base field. The following field types are supported:
- Base fields (core)
- Base field overrides (your own custom code)
- Datetime (core)
- Datetime range (core)
- Datetime range timezone (contrib module)
- Smart date (contrib module)
- Something else? Raise an issue, happy to support more options
Use the batch form to run a batch script to auto-update content when you change the configuration
Post-Installation
Go to the configuration page and decide on fields to use
Use the batch form to update existing content
Automated testing
You can view the automated testing results via Gitlab Pipelines for the project
Depends on
Dependencies of the latest stable release
- datetime Drupal core
- node 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 | Notes | Release date | |
|---|---|---|---|---|---|
| 1.0.6 | Stable | 9–11 | Add drush commands | Jun 9, 2026 | |
| 1.0.5 | Stable | 9–11 | Autowiring bugfix to previous release | Jan 20, 2026 | |
| 1.0.4 | Stable | 9–11 | Various fixes and general maintenance, update to Unified Datetime Views Filter handler. See full release notes. | Jan 13, 2026 |