Search for timezone

  1. Search 9.5.x for timezone
  2. Search 8.9.x for timezone
  3. Search 10.3.x for timezone
  4. Search 11.x for timezone
  5. Search main for timezone
  6. Other projects
Title Object type File name Summary
DateTimeFunctionalTest::testTimeZoneHandling function modules/system/system.test Test time zones and DST handling.
drupal_get_user_timezone function includes/bootstrap.inc Returns the time zone of the current user.
DRUPAL_USER_TIMEZONE_DEFAULT constant modules/system/system.module New users will be set to the default time zone at registration.
DRUPAL_USER_TIMEZONE_EMPTY constant modules/system/system.module New users will get an empty time zone at registration.
DRUPAL_USER_TIMEZONE_SELECT constant modules/system/system.module New users will select their own timezone at registration.
system_timezone function modules/system/system.module Menu callback; Retrieve a JSON object containing a suggested time zone name.
system_user_timezone function modules/system/system.module Add the time zone field to the user edit and register forms.
UserTimeZoneFunctionalTest class modules/user/user.test Tests for user-configurable time zones.
UserTimeZoneFunctionalTest::getInfo function modules/user/user.test
UserTimeZoneFunctionalTest::testUserTimeZone function modules/user/user.test Tests the display of dates and time when user-configurable time zones are set.

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