comparison core/modules/system/src/Controller/TimezoneController.php @ 12:7a779792577d

Update Drupal core to v8.4.5 (via Composer)
author Chris Cannam
date Fri, 23 Feb 2018 15:52:07 +0000
parents 4c8ae668cc8c
children
comparison
equal deleted inserted replaced
11:bfffd8d7479a 12:7a779792577d
22 * is returned. 22 * is returned.
23 * @param null|bool $is_daylight_saving_time 23 * @param null|bool $is_daylight_saving_time
24 * Daylight saving time indicator. If abbr does not exist then the time 24 * Daylight saving time indicator. If abbr does not exist then the time
25 * zone is searched solely by offset and isdst. 25 * zone is searched solely by offset and isdst.
26 * 26 *
27 * @return JsonResponse 27 * @return \Symfony\Component\HttpFoundation\JsonResponse
28 * The timezone name in JsonResponse object. 28 * The timezone name in JsonResponse object.
29 */ 29 */
30 public function getTimezone($abbreviation = '', $offset = -1, $is_daylight_saving_time = NULL) { 30 public function getTimezone($abbreviation = '', $offset = -1, $is_daylight_saving_time = NULL) {
31 // An abbreviation of "0" passed in the callback arguments should be 31 // An abbreviation of "0" passed in the callback arguments should be
32 // interpreted as the empty string. 32 // interpreted as the empty string.