|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-06-04 12:41 UTC] derick@php.net
-Status: Open
+Status: Assigned
-Assigned To:
+Assigned To: derick
[2010-07-18 00:17 UTC] k.schroeder@php.net
[2011-12-06 06:20 UTC] derick@php.net
[2011-12-06 06:21 UTC] derick@php.net
-Status: Assigned
+Status: Closed
[2011-12-06 06:21 UTC] derick@php.net
[2012-04-18 09:47 UTC] laruence@php.net
[2012-07-24 23:38 UTC] rasmus@php.net
[2013-11-17 09:34 UTC] laruence@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 07:00:01 2025 UTC |
Description: ------------ date_parse_from_format is parsing invalid date using 'yz' format Test script: --------------- <?php $trans_date = '10153'; $a_date = date_parse_from_format ('yz',$trans_date); print_r($a_date); ?> Expected result: ---------------- [year] => 2010 [month] => 6 [day] => 3 Actual result: -------------- Array ( [year] => 2010 [month] => 1 <===== wrong [day] => 154 <===== wrong [hour] => [minute] => [second] => [fraction] => [warning_count] => 1 [warnings] => Array ( [5] => The parsed date was invalid ) [error_count] => 0 [errors] => Array ( ) [is_localtime] => )