|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-03-24 10:01 UTC] derick@php.net
-Status: Open
+Status: Bogus
[2010-03-24 10:01 UTC] derick@php.net
[2010-03-24 18:16 UTC] george at shoutbomb dot com
-Type: Bug
+Type: Documentation Problem
[2010-03-24 18:16 UTC] george at shoutbomb dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 01 02:00:01 2025 UTC |
Description: ------------ date_parse_from_format("Ymd","20100323") returns... no leading zero in the month Test script: --------------- <?php print_r(date_parse_from_format("Ymd","20100323")); ?> Expected result: ---------------- Array ( [year] => 2010 [month] => 03 [day] => 23 [hour] => [minute] => [second] => [fraction] => [warning_count] => 0 [warnings] => Array ( ) [error_count] => 0 [errors] => Array ( ) [is_localtime] => ) Actual result: -------------- Array ( [year] => 2010 [month] => 3 [day] => 23 [hour] => [minute] => [second] => [fraction] => [warning_count] => 0 [warnings] => Array ( ) [error_count] => 0 [errors] => Array ( ) [is_localtime] => )