php8: update to 8.2.0
[feed/packages.git] / lang / php8 / patches / 0022-Use-system-timezone.patch
index 2225fc39bb032ea962f684c0e2219a793efb95bb..822c55abeeaa4e0e6d9c981fba8b92a772e07150 100644 (file)
@@ -15,8 +15,8 @@ To be used in tandem with use_embedded_timezonedb.patch and use_embedded_timezon
 
 --- a/ext/date/php_date.c
 +++ b/ext/date/php_date.c
-@@ -545,6 +545,23 @@ static char* guess_timezone(const timeli
-               DATEG(timezone_valid) = 1;
+@@ -549,6 +549,23 @@ static char* guess_timezone(const timeli
+       } else if (*DATEG(default_timezone)) {
                return DATEG(default_timezone);
        }
 +      /* Try to guess timezone from system information */