Fix App lib Timezones::get_default_timezone() always UTC
If none of the above succeed, will return a default timezone of UTC. https://www.php.net/manual/en/function.date-default-timezone-get.php
This commit is contained in:
parent
2e9bcacbfc
commit
1788f209eb
|
@ -530,7 +530,7 @@ class Timezones
|
|||
*/
|
||||
public function get_default_timezone(): string
|
||||
{
|
||||
return 'UTC';
|
||||
return date_default_timezone_get();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue