User::$timezone |
property |
drupal/core/modules/user/lib/Drupal/user/Plugin/Core/Entity/User.php |
The user's timezone. |
system_timezone |
function |
drupal/core/modules/system/system.module |
Menu callback; Retrieve a JSON object containing a suggested time zone name. |
UserTimeZoneTest |
class |
drupal/core/modules/user/lib/Drupal/user/Tests/UserTimeZoneTest.php |
Tests for user-configurable time zones. |
Date::$timezones |
property |
drupal/core/lib/Drupal/Core/Datetime/Date.php |
The list of loaded timezones. |
Sql::setupTimezone |
function |
drupal/core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php |
Overrides \Drupal\views\Plugin\views\query\QueryPluginBase::setupTimezone(). |
system.timezone.yml |
file |
drupal/core/modules/system/config/system.timezone.yml |
drupal/core/modules/system/config/system.timezone.yml |
UserTimeZoneTest.php |
file |
drupal/core/modules/user/lib/Drupal/user/Tests/UserTimeZoneTest.php |
Definition of Drupal\user\Tests\UserTimeZoneTest. |
system_user_timezone |
function |
drupal/core/modules/system/system.module |
Add the time zone field to the user edit and register forms. |
drupal_get_user_timezone |
function |
drupal/core/includes/bootstrap.inc |
Returns the time zone of the current user. |
DATETIME_STORAGE_TIMEZONE |
constant |
drupal/core/modules/datetime/datetime.module |
Defines the timezone that dates should be stored in. |
UserTimeZoneTest::getInfo |
function |
drupal/core/modules/user/lib/Drupal/user/Tests/UserTimeZoneTest.php |
|
DRUPAL_USER_TIMEZONE_EMPTY |
constant |
drupal/core/modules/system/system.module |
New users will get an empty time zone at registration. |
DRUPAL_USER_TIMEZONE_SELECT |
constant |
drupal/core/modules/system/system.module |
New users will select their own timezone at registration. |
DRUPAL_USER_TIMEZONE_DEFAULT |
constant |
drupal/core/modules/system/system.module |
New users will be set to the default time zone at registration. |
DateTimePlus::prepareTimezone |
function |
drupal/core/lib/Drupal/Component/Datetime/DateTimePlus.php |
Prepares the input timezone value. |
QueryPluginBase::setupTimezone |
function |
drupal/core/modules/views/lib/Drupal/views/Plugin/views/query/QueryPluginBase.php |
Set the database to the current user timezone, |
Twig_Extension_Core::$timezone |
property |
drupal/core/vendor/twig/twig/lib/Twig/Extension/Core.php |
|
DrupalDateTime::prepareTimezone |
function |
drupal/core/lib/Drupal/Core/Datetime/DrupalDateTime.php |
Overrides prepareTimezone(). |
DateTimePlus::$inputTimeZoneRaw |
property |
drupal/core/lib/Drupal/Component/Datetime/DateTimePlus.php |
The value of the timezone passed to the constructor. |
Twig_Extension_Core::getTimezone |
function |
drupal/core/vendor/twig/twig/lib/Twig/Extension/Core.php |
Gets the default timezone to be used by the date filter. |
Twig_Extension_Core::setTimezone |
function |
drupal/core/vendor/twig/twig/lib/Twig/Extension/Core.php |
Sets the default timezone to be used by the date filter. |
DateTimePlusTest::testDateTimezone |
function |
drupal/core/modules/system/lib/Drupal/system/Tests/Datetime/DateTimePlusTest.php |
Test that DrupalDateTime can detect the right timezone to use.
When specified or not. |
UserTimeZoneTest::testUserTimeZone |
function |
drupal/core/modules/user/lib/Drupal/user/Tests/UserTimeZoneTest.php |
Tests the display of dates and time when user-configurable time zones are set. |
DateTimeTest::testTimeZoneHandling |
function |
drupal/core/modules/system/lib/Drupal/system/Tests/System/DateTimeTest.php |
Test time zones and DST handling. |
DrupalDateTimeTest::testDateTimezone |
function |
drupal/core/modules/system/lib/Drupal/system/Tests/Datetime/DrupalDateTimeTest.php |
Test that DrupalDateTime can detect the right timezone to use.
Test with a variety of less commonly used timezone names to
help ensure that the system timezone will be different than the
stated timezones. |
DateTimePlus::$inputTimeZoneAdjusted |
property |
drupal/core/lib/Drupal/Component/Datetime/DateTimePlus.php |
The prepared timezone object used to construct this date. |
DateTimePlusTest::testTimezoneConversion |
function |
drupal/core/modules/system/lib/Drupal/system/Tests/Datetime/DateTimePlusTest.php |
Test timezone manipulation. |