You are here

public constant DateRecurGranularityMap::GRANULARITY_DATE_FORMATS in Recurring Dates Field 3.x

Same name and namespace in other branches
  1. 8.2 src/DateRecurGranularityMap.php \Drupal\date_recur\DateRecurGranularityMap::GRANULARITY_DATE_FORMATS
  2. 3.0.x src/DateRecurGranularityMap.php \Drupal\date_recur\DateRecurGranularityMap::GRANULARITY_DATE_FORMATS
  3. 3.1.x src/DateRecurGranularityMap.php \Drupal\date_recur\DateRecurGranularityMap::GRANULARITY_DATE_FORMATS

Granularities and their associated date() format.

File

src/DateRecurGranularityMap.php, line 29

Class

DateRecurGranularityMap
Granularity maps.

Namespace

Drupal\date_recur

Code

public const GRANULARITY_DATE_FORMATS = [
  'year' => 'Y',
  'month' => 'Y-m',
  'day' => 'Y-m-d',
  'second' => 'Y-m-d\\TH:i:s',
];