DateFormatter::$timezones

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Datetime/DateFormatter.php \Drupal\Core\Datetime\DateFormatter::timezones
  2. 10 core/lib/Drupal/Core/Datetime/DateFormatter.php \Drupal\Core\Datetime\DateFormatter::timezones
  3. 11.x core/lib/Drupal/Core/Datetime/DateFormatter.php \Drupal\Core\Datetime\DateFormatter::timezones

The list of loaded timezones.

Type: array

File

core/lib/Drupal/Core/Datetime/DateFormatter.php, line 26

Class

DateFormatter
Provides a service to handle various date related functionality.

Namespace

Drupal\Core\Datetime

Code

protected $timezones;

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