You are here

constant PD2_YEAR_MAX in Partial Date 7

The maximum year that the module supports.

Modifying this will alter how new timestamps are stored in the database.

2 uses of PD2_YEAR_MAX
partial_date_field_populate_components in ./partial_date.admin.inc
This generates the best estimate for the date components based on the submitted values.
partial_date_field_validate_year in ./partial_date.admin.inc
Helper for hook_field_validate() to test that the year in within range.

File

./partial_date.module, line 986
Defines a date element that allows for any combination of date granularity settings.

Code

define('PD2_YEAR_MAX', 999999999999);