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:
Thomas Ingles 2024-04-30 02:03:27 +02:00 committed by Alex Tselegidis
parent 2e9bcacbfc
commit 1788f209eb
1 changed files with 1 additions and 1 deletions

View File

@ -530,7 +530,7 @@ class Timezones
*/
public function get_default_timezone(): string
{
return 'UTC';
return date_default_timezone_get();
}
/**