Skip to content

Commit afe8e2c

Browse files
committed
Relax timezone_IDforWindowsID_basic2.phpt expectations
Apparently, some ICU versions report "America/Los_Angeles" for the `ZZ` case, what matches the behavior of ICU 76.1 (on Windows). Possibly, there has been some bug fix backport on some systems. Anyhow, either seems fine, so we're not picky about that. Closes GH-17669.
1 parent d974486 commit afe8e2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/intl/tests/timezone_IDforWindowsID_basic2.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ foreach ($tzs as $tz => $regions) {
2424
}
2525
}
2626
?>
27-
--EXPECT--
27+
--EXPECTF--
2828
** Gnomeregan
2929
bool(false)
3030
Error: intltz_get_windows_id: Unknown windows timezone: U_ILLEGAL_ARGUMENT_ERROR
@@ -35,7 +35,7 @@ string(19) "America/Los_Angeles"
3535
string(17) "America/Vancouver"
3636
string(19) "America/Los_Angeles"
3737
string(19) "America/Los_Angeles"
38-
string(7) "PST8PDT"
38+
string(%d) "%r(PST8PDT|America\/Los_Angeles)%r"
3939
** Romance Standard Time
4040
string(12) "Europe/Paris"
4141
string(15) "Europe/Brussels"

0 commit comments

Comments
 (0)