Partial Date
Component type
Maintenance status
Development status
Downloads
Component created
Component changed
Overview
This module provides date and time fields that allows any individual component to be left blank, while still providing a sortable listing of the fields. Useful if you need to handle dates like "8:46 a.m Sep 11, 2001 EST", "12 noon 25 May, Early 16th Century" or "May 20000 BC" in the one field.
- A date / time field and a date / time range field
- One master widget.
This includes:- Individual date components
Select lists and a text field for years - Optional estimate range lists
For example, "18th Century" for years between 1700 and 1799 - Ability to select all or none of any of the above fields
- Two label override fields
- Individual date components
- There are three built in formatters that allow you to assign supported PHP date() like components to a date. The formatter settings can be used to customise any individual field.
- One FAPI element that supports a singular date time values and the corresponding range approximation lists.
Important outstanding issues:
- Timestamp creation. This is used for sorting, but it is not generating the correct values. Some dates are significantly wrong.
- Individual Time and Date fields. Currently there is a database column for each level of granularity.
- Implement missing PHP formatters
- Date validation. Currently there is none.
- Timezone implementation. Hoping to implement all of the supported Date module options.
For values outside of 1900 / 2038, the offset at 1905 will be generated and the timestamp will be calculated. Modern daylight savings started in 1908. - Massive tidy up in the code
