| AccountInterface::getTimeZone |
function |
core/lib/Drupal/Core/Session/AccountInterface.php |
Returns the timezone of this account. |
| AccountProxy::getTimeZone |
function |
core/lib/Drupal/Core/Session/AccountProxy.php |
|
| BrowserTestBaseTest::testLocalTimeZone |
function |
core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php |
Tests the assumption that local time is in 'Australia/Sydney'. |
| cache_context.timezone |
service |
core/core.services.yml |
Drupal\Core\Cache\Context\TimeZoneCacheContext |
| Date::getTimezone |
function |
core/modules/datetime/src/Plugin/views/filter/Date.php |
Get the proper time zone to use in computations. |
| DateFormatter::$timezones |
property |
core/lib/Drupal/Core/Datetime/DateFormatter.php |
The list of loaded timezones. |
| DatelistElementFormTest::testTimezoneHandling |
function |
core/tests/Drupal/KernelTests/Core/Datetime/DatelistElementFormTest.php |
Tests proper timezone handling of the Datelist element. |
| DateSqlInterface::setFieldTimezoneOffset |
function |
core/modules/views/src/Plugin/views/query/DateSqlInterface.php |
Applies the given offset to the given field. |
| DateSqlInterface::setTimezoneOffset |
function |
core/modules/views/src/Plugin/views/query/DateSqlInterface.php |
Set the database to the given timezone. |
| DateTestBase::$timezones |
property |
core/modules/datetime/tests/src/Functional/DateTestBase.php |
An array of timezone extremes to test. |
| DateTestBase::setSiteTimezone |
function |
core/modules/datetime/tests/src/Functional/DateTestBase.php |
Sets the site timezone to a given timezone. |
| DatetimeElementFormTest::testTimezoneHandling |
function |
core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php |
Tests proper timezone handling of the Datetime element. |
| DateTimeFormatterBase::setTimeZone |
function |
core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php |
Sets the proper time zone on a DrupalDateTime object for the current user. |
| DateTimeHandlerTestBase::setSiteTimezone |
function |
core/modules/datetime/tests/src/Kernel/Views/DateTimeHandlerTestBase.php |
Sets the site timezone to a given timezone. |
| DateTimeIso8601NormalizerTestDrupalDateTime::setTimezone |
function |
core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php |
Sets the timezone. |
| DateTimeItemInterface::STORAGE_TIMEZONE |
constant |
core/modules/datetime/src/Plugin/Field/FieldType/DateTimeItemInterface.php |
Defines the timezone that dates should be stored in. |
| DateTimeNormalizer::getNormalizationTimezone |
function |
core/modules/serialization/src/Normalizer/DateTimeNormalizer.php |
Gets the timezone to be used during normalization. |
| DateTimeNormalizerTestDrupalDateTime::setTimezone |
function |
core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php |
Sets the timezone. |
| DateTimePlus::prepareTimezone |
function |
core/lib/Drupal/Component/Datetime/DateTimePlus.php |
Prepares the input timezone value. |
| DateTimePlusTest::providerTestDateTimezone |
function |
core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php |
Provides data for testDateTimezone. |
| DateTimePlusTest::testDateTimezone |
function |
core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php |
Tests that DrupalDateTime can detect the right timezone to use. |
| DateTimePlusTest::testDateTimezoneWithDateTimeObject |
function |
core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php |
Tests that DrupalDateTime can detect the correct timezone to use. |
| DateTimeTest::testTimeZoneHandling |
function |
core/modules/system/tests/src/Functional/System/DateTimeTest.php |
Tests time zones and DST handling. |
| DrupalDateTime::prepareTimezone |
function |
core/lib/Drupal/Core/Datetime/DrupalDateTime.php |
Overrides prepareTimezone(). |
| DrupalDateTimeTest::testDateTimezone |
function |
core/tests/Drupal/KernelTests/Core/Datetime/DrupalDateTimeTest.php |
Tests that DrupalDateTime can detect the right timezone to use. |
| DrupalDateTimeTest::testTimezoneFormat |
function |
core/tests/Drupal/KernelTests/Core/Datetime/DrupalDateTimeTest.php |
Tests the ability to override the time zone in the format method. |
| FilterDateTest::$timezones |
property |
core/modules/datetime/tests/src/Kernel/Views/FilterDateTest.php |
An array of timezone extremes to test. |
| FilterDateTimeTest::$timezone |
property |
core/modules/datetime/tests/src/Kernel/Views/FilterDateTimeTest.php |
Use a non-UTC timezone. |
| InstallerSiteConfigProfileTest::EXPECTED_TIMEZONE |
constant |
core/tests/Drupal/FunctionalTests/Installer/InstallerSiteConfigProfileTest.php |
The timezone we expect to be set from the install profile. |
| JsonApiRegressionTest::testPatchingDateTimeNormalizedWrongTimeZoneIssue3021194 |
function |
core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php |
Ensures datetime fields are normalized using the correct timezone. |
| KernelTestBaseTest::testLocalTimeZone |
function |
core/tests/Drupal/KernelTests/KernelTestBaseTest.php |
Tests the assumption that local time is in 'Australia/Sydney'. |
| MysqlDateSql::setFieldTimezoneOffset |
function |
core/modules/views/src/Plugin/views/query/MysqlDateSql.php |
|
| MysqlDateSql::setTimezoneOffset |
function |
core/modules/views/src/Plugin/views/query/MysqlDateSql.php |
|
| MysqlDateSqlTest::testSetFieldTimezoneOffset |
function |
core/modules/views/tests/src/Unit/Plugin/views/query/MysqlDateSqlTest.php |
Tests timezone offset formatting. |
| MysqlDateSqlTest::testSetTimezoneOffset |
function |
core/modules/views/tests/src/Unit/Plugin/views/query/MysqlDateSqlTest.php |
Tests setting the database offset. |
| PostgresqlDateSql::setFieldTimezoneOffset |
function |
core/modules/views/src/Plugin/views/query/PostgresqlDateSql.php |
|
| PostgresqlDateSql::setTimezoneOffset |
function |
core/modules/views/src/Plugin/views/query/PostgresqlDateSql.php |
|
| PostgresqlDateSqlTest::testSetFieldTimezoneOffset |
function |
core/modules/views/tests/src/Unit/Plugin/views/query/PostgresqlDateSqlTest.php |
Tests timezone offset formatting. |
| PostgresqlDateSqlTest::testSetTimezoneOffset |
function |
core/modules/views/tests/src/Unit/Plugin/views/query/PostgresqlDateSqlTest.php |
Tests setting the database offset. |
| QueryPluginBase::getTimezoneOffset |
function |
core/modules/views/src/Plugin/views/query/QueryPluginBase.php |
Get the timezone offset in seconds. |
| QueryPluginBase::setFieldTimezoneOffset |
function |
core/modules/views/src/Plugin/views/query/QueryPluginBase.php |
Applies a timezone offset to the given field. |
| QueryPluginBase::setupTimezone |
function |
core/modules/views/src/Plugin/views/query/QueryPluginBase.php |
Set the database to the current user timezone. |
| QueryTest::setFieldTimezoneOffset |
function |
core/modules/views/tests/modules/views_test_data/src/Plugin/views/query/QueryTest.php |
|
| RegionalForm::loadDefaultTimeZone |
function |
core/modules/system/src/Form/RegionalForm.php |
Prepares the saved timezone.default property to be displayed in the form. |
| Sql::setFieldTimezoneOffset |
function |
core/modules/views/src/Plugin/views/query/Sql.php |
|
| Sql::setupTimezone |
function |
core/modules/views/src/Plugin/views/query/Sql.php |
|
| SqliteDateSql::setFieldTimezoneOffset |
function |
core/modules/views/src/Plugin/views/query/SqliteDateSql.php |
|
| SqliteDateSql::setTimezoneOffset |
function |
core/modules/views/src/Plugin/views/query/SqliteDateSql.php |
|
| SqliteDateSqlTest::testSetFieldTimezoneOffset |
function |
core/modules/views/tests/src/Unit/Plugin/views/query/SqliteDateSqlTest.php |
Tests timezone offset formatting. |
| SqliteDateSqlTest::testSetTimezoneOffset |
function |
core/modules/views/tests/src/Unit/Plugin/views/query/SqliteDateSqlTest.php |
Tests setting the database offset. |