mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Set default timezone in init_session().
This commit is contained in:
@@ -219,6 +219,11 @@ class e_user_model extends e_admin_model
|
||||
return ($this->isAdmin() ? $this->get('user_perms') : false);
|
||||
}
|
||||
|
||||
final public function getTimezone()
|
||||
{
|
||||
return ($this->get('user_timezone') ? $this->get('user_timezone') : 'UTC');
|
||||
}
|
||||
|
||||
/**
|
||||
* DEPRECATED - will be removed or changed soon (see e_session)
|
||||
* @return string
|
||||
|
Reference in New Issue
Block a user