mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-26 16:42:27 +03:00
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
0b5eacb109
commit
3936b4e106
1 changed files with 1 additions and 1 deletions
|
@ -530,7 +530,7 @@ class Timezones
|
|||
*/
|
||||
public function get_default_timezone(): string
|
||||
{
|
||||
return 'UTC';
|
||||
return date_default_timezone_get();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue