Skip to content

Commit 30ce63f

Browse files
cmb69charmitro
authored andcommitted
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 phpGH-17669.
1 parent 28a996b commit 30ce63f

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
@@ -25,7 +25,7 @@ foreach ($tzs as $tz => $regions) {
2525
}
2626
}
2727
?>
28-
--EXPECT--
28+
--EXPECTF--
2929
** Gnomeregan
3030
bool(false)
3131
Error: unknown windows timezone: U_ILLEGAL_ARGUMENT_ERROR
@@ -36,7 +36,7 @@ string(19) "America/Los_Angeles"
3636
string(17) "America/Vancouver"
3737
string(19) "America/Los_Angeles"
3838
string(19) "America/Los_Angeles"
39-
string(7) "PST8PDT"
39+
string(%d) "%r(PST8PDT|America\/Los_Angeles)%r"
4040
** Romance Standard Time
4141
string(12) "Europe/Paris"
4242
string(15) "Europe/Brussels"

0 commit comments

Comments
 (0)