You are here

constant DATETIME_DATE_STORAGE_FORMAT in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/datetime/datetime.module \DATETIME_DATE_STORAGE_FORMAT

Defines the format that dates should be stored in.

9 uses of DATETIME_DATE_STORAGE_FORMAT
Date::__construct in core/modules/datetime/src/Plugin/views/filter/Date.php
Constructs a new Date handler.
DateTimeComputed::getValue in core/modules/datetime/src/DateTimeComputed.php
Gets the data value.
DateTimeFieldItemList::processDefaultValue in core/modules/datetime/src/Plugin/Field/FieldType/DateTimeFieldItemList.php
Processes the default value before being applied.
DateTimeFieldTest::testDateField in core/modules/datetime/src/Tests/DateTimeFieldTest.php
Tests date field functionality.
DateTimeFieldTest::testDefaultValue in core/modules/datetime/src/Tests/DateTimeFieldTest.php
Test default value functionality.

... See full list

File

core/modules/datetime/datetime.module, line 23
Field hooks to implement a simple datetime field.

Code

const DATETIME_DATE_STORAGE_FORMAT = 'Y-m-d';