mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fix bug-gh11600.phpt to work with different ICU versions
This commit is contained in:
parent
3552a1be97
commit
9c47f33a5f
1 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,7 @@
|
|||
--TEST--
|
||||
Bug GH-11600: Intl patterns are not parseable DateTime Strings
|
||||
--EXTENSIONS--
|
||||
intl
|
||||
--INI--
|
||||
date.timezone=UTC
|
||||
--FILE--
|
||||
|
@ -14,6 +16,6 @@ $timestamp = strtotime($timeString);
|
|||
var_dump($pattern, $timeString, $timestamp);
|
||||
?>
|
||||
--EXPECTF--
|
||||
string(8) "h:mm a"
|
||||
string(9) "4:02 PM"
|
||||
string(%d) "h:mm%sa"
|
||||
string(%d) "4:02%sPM"
|
||||
int(1689091320)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue