DateTimePlus::FORMAT

Same name in other branches
  1. 8.9.x core/lib/Drupal/Component/Datetime/DateTimePlus.php \Drupal\Component\Datetime\DateTimePlus::FORMAT
  2. 10 core/lib/Drupal/Component/Datetime/DateTimePlus.php \Drupal\Component\Datetime\DateTimePlus::FORMAT
  3. 11.x core/lib/Drupal/Component/Datetime/DateTimePlus.php \Drupal\Component\Datetime\DateTimePlus::FORMAT
2 uses of DateTimePlus::FORMAT
DateTimePlus::render in core/lib/Drupal/Component/Datetime/DateTimePlus.php
Renders the timezone name.
DrupalDateTime::format in core/lib/Drupal/Core/Datetime/DrupalDateTime.php
Overrides format().

File

core/lib/Drupal/Component/Datetime/DateTimePlus.php, line 44

Class

DateTimePlus
Wraps DateTime().

Namespace

Drupal\Component\Datetime

Code

const FORMAT = 'Y-m-d H:i:s';

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.