mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
Implement default timezone for domains
This commit is contained in:
parent
ce895ff640
commit
a984665efc
2 changed files with 5 additions and 0 deletions
|
|
@ -66,6 +66,10 @@ class DateTime
|
|||
{
|
||||
return $_SESSION['RHYMIX']['timezone'];
|
||||
}
|
||||
elseif ($default = \Context::get('_default_timezone'))
|
||||
{
|
||||
return $default;
|
||||
}
|
||||
elseif ($default = Config::get('locale.default_timezone'))
|
||||
{
|
||||
return $default;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue