t('Application default')) + $listing; } return $listing; } /** * Get current timezone * * @access public * @return string */ public function getCurrentTimezone() { return $this->userSession->getTimezone() ?: $this->configModel->get('application_timezone', 'UTC'); } /** * Set timezone * * @access public */ public function setCurrentTimezone() { date_default_timezone_set($this->getCurrentTimezone()); } }