Edit report at http://bugs.php.net/bug.php?id=50392&edit=1
ID: 50392 Updated by: [email protected] Reported by: grodny at oneclick dot sk Summary: date_create_from_format enforces 6 digits for 'u' format character -Status: Assigned +Status: Closed Type: Bug Package: Date/time related Operating System: * PHP Version: 5.3.1 Assigned To: derick New Comment: This bug has been fixed in SVN. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2010-03-07 14:08:49] [email protected] Automatic comment from SVN on behalf of derick Revision: http://svn.php.net/viewvc/?view=revision&revision=295921 Log: - Fixed bug #50392 (date_create_from_format enforces 6 digits for 'u' format character). ------------------------------------------------------------------------ [2010-02-11 11:11:49] [email protected] Automatic comment from SVN on behalf of pajoye Revision: http://svn.php.net/viewvc/?view=revision&revision=294880 Log: - merge fix for: #45866,#50930, revert fix for #50392, Fixed a bug with the 'r' formatting function, added or fixed tests for #45866 and #46268 ------------------------------------------------------------------------ [2010-02-10 16:23:33] [email protected] Automatic comment from SVN on behalf of derick Revision: http://svn.php.net/viewvc/?view=revision&revision=294854 Log: - Added a test case for bug #45866 - Fixed tests: oo_002, bug46268 - Fixed bug #50930 (Wrong date by php_date.c patch with ancient gcc/glibc versions). - Make sure faulty strings passed to DateTime::modify() notify the user. - Revert fix for bug #50392 as it was fixed wrongly without a proper test case. - Fixed a bug with the 'r' formatting function as the default buffer size that was allocated only fit 4 digit years. ------------------------------------------------------------------------ [2010-02-10 14:32:05] [email protected] Reopening as this bug was fixed incorrectly. It would treat "0010" as "000010" which is not what it is meant to do. The test case didn't properly test the values either. ------------------------------------------------------------------------ [2009-12-15 12:40:47] [email protected] This bug has been fixed in SVN. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/bug.php?id=50392 -- Edit this bug report at http://bugs.php.net/bug.php?id=50392&edit=1
