YMD Date - Pre Epoch, Partial Date Values
This module adds a date field that supports dates before 1970 and allows for storing only the year, or year and month, or the full date. It stores dates in a sortable YYYYMMDD format and provides a formatter to display dates using standard Drupal formats. The field widget allows users to select a range of years for input.
This module provides a date field which allows dates prior to epoch (1970) and allows values of year only, year/month, or year/month/day. The date value is stored in the format YYYYMMDD which allows natural sorting. When no month or day selections are made, 00 is stored in their place.
A formatter is included which displays the date using the standard Drupal date/time formats of your choice.
The included field widget allows selection of the beginning year and the year selector displays a range from this beginning year to the current year.
A year-only token is also included to provide an example.
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 | Notes | Release date | |
|---|---|---|---|---|---|
| 1.0.2 | Stable | 8–11 | Sep 15, 2025 |