ID: 50392 Updated by: [email protected] Reported By: grodny at oneclick dot sk -Status: Open +Status: Assigned Bug Type: Date/time related Operating System: * PHP Version: 5.3.1 Assigned To: derick
Previous Comments: ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ [2009-12-15 12:34:17] [email protected] Automatic comment from SVN on behalf of iliaa Revision: http://svn.php.net/viewvc/?view=revision&revision=292162 Log: Fixed bu #50392 (date_create_from_format() enforces 6 digits for 'u' format character) ------------------------------------------------------------------------ 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/50392 -- Edit this bug report at http://bugs.php.net/?id=50392&edit=1
