From 1c8ca83898be3610a183e6edb9c3e55c1e554d27 Mon Sep 17 00:00:00 2001 From: KarinG Date: Sun, 10 Nov 2019 10:39:36 -0700 Subject: [PATCH] Implement drupal_get_user_timezone() --- CRM/Utils/System/Drupal8.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CRM/Utils/System/Drupal8.php b/CRM/Utils/System/Drupal8.php index 3435c5a06b..d53bb2135f 100644 --- a/CRM/Utils/System/Drupal8.php +++ b/CRM/Utils/System/Drupal8.php @@ -718,6 +718,14 @@ class CRM_Utils_System_Drupal8 extends CRM_Utils_System_DrupalBase { $e->list[] = 'js/crm.drupal8.js'; } + /** + * @inheritDoc + */ + public function getTimeZoneString() { + $timezone = drupal_get_user_timezone(); + return $timezone; + } + /** * @inheritDoc */ -- 2.25.1