FilterDateTest::$timezones

Same name and namespace in other branches
  1. 9 core/modules/datetime/tests/src/Kernel/Views/FilterDateTest.php \Drupal\Tests\datetime\Kernel\Views\FilterDateTest::timezones
  2. 10 core/modules/datetime/tests/src/Kernel/Views/FilterDateTest.php \Drupal\Tests\datetime\Kernel\Views\FilterDateTest::timezones
  3. 11.x core/modules/datetime/tests/src/Kernel/Views/FilterDateTest.php \Drupal\Tests\datetime\Kernel\Views\FilterDateTest::timezones

An array of timezone extremes to test.

Type: string[]

File

core/modules/datetime/tests/src/Kernel/Views/FilterDateTest.php, line 27

Class

FilterDateTest
Tests date-only fields.

Namespace

Drupal\Tests\datetime\Kernel\Views

Code

protected static $timezones = [
    // UTC-12, no DST.
'Pacific/Kwajalein',
    // UTC-11, no DST.
'Pacific/Midway',
    // UTC-7, no DST.
'America/Phoenix',
    // UTC.
'UTC',
    // UTC+5:30, no DST.
'Asia/Kolkata',
    // UTC+12, no DST.
'Pacific/Funafuti',
    // UTC+13, no DST.
'Pacific/Tongatapu',
];

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