mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Procedural example was wrong: output '0' instead of '630201600'
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@319028 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
86b07cdc1e
commit
076906955c
1 changed files with 2 additions and 2 deletions
|
@ -84,9 +84,9 @@
|
|||
<![CDATA[
|
||||
<?php
|
||||
$fmt = new IntlDateFormatter( "en_US" ,IntlDateFormatter::FULL,IntlDateFormatter::FULL,'America/Los_Angeles',IntlDateFormatter::GREGORIAN );
|
||||
echo "First parsed output is ".$fmt->parse("Wednesday, December 31, 1969 4:00:00 PM PT");
|
||||
echo "First parsed output is ".$fmt->parse("Wednesday, December 20, 1989 4:00:00 PM PT");
|
||||
$fmt = new IntlDateFormatter( "de-DE" ,IntlDateFormatter::FULL,IntlDateFormatter::FULL,'America/Los_Angeles',IntlDateFormatter::GREGORIAN );
|
||||
echo "Second parsed output is ".$fmt->parse("Mittwoch, 31. Dezember 1969 16:00 Uhr GMT-08:00");
|
||||
echo "Second parsed output is ".$fmt->parse("Mittwoch, 20. Dezember 1989 16:00 Uhr GMT-08:00");
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
|
|
Loading…
Reference in a new issue