mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-28 01:22:25 +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
2e9bcacbfc
commit
1788f209eb
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