Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / datetime / src / Plugin / Field / FieldType / DateTimeItemInterface.php
1 <?php
2
3 namespace Drupal\datetime\Plugin\Field\FieldType;
4
5 /**
6  * Interface definition for Datetime items.
7  */
8 interface DateTimeItemInterface {
9
10   /**
11    * Defines the timezone that dates should be stored in.
12    */
13   const STORAGE_TIMEZONE = 'UTC';
14
15   /**
16    * Defines the format that date and time should be stored in.
17    */
18   const DATETIME_STORAGE_FORMAT = 'Y-m-d\TH:i:s';
19
20   /**
21    * Defines the format that dates should be stored in.
22    */
23   const DATE_STORAGE_FORMAT = 'Y-m-d';
24
25 }