Bug #75577 [Com]: DateTime::createFromFormat does not accept RFC3339_EXTENDED format

From: Date: Mon, 07 Dec 2020 13:26:32 +0000
Subject: Bug #75577 [Com]: DateTime::createFromFormat does not accept RFC3339_EXTENDED format
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-230902@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=75577&edit=1 ID: 75577 Comment by: alexwriter2003 at gmail dot com Reported by: php-bugs at dennis dot birkholz dot biz Summary: DateTime::createFromFormat does not accept RFC3339_EXTENDED format Status: Closed Type: Bug Package: Date/time related Operating System: Linux PHP Version: 7.2.0RC6 Assigned To: derick Block user comment: N Private report: N New Comment: Snapshots of the sources are packaged every three hours; this https://goo.gl/2DqXGj change It's not apparent to someone using the constant why anything would be wrong Previous Comments: ------------------------------------------------------------------------ [2020-01-28 15:02:49] cmb@php.net Related To: Bug #79181 ------------------------------------------------------------------------ [2018-10-09 10:10:28] derick@php.net The fix for this bug has been committed. 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/. For Windows: http://windows.php.net/snapshots/ Thank you for the report, and for helping us make PHP better. Fixed for PHP 7.3RC3 (or RC4). ------------------------------------------------------------------------ [2018-10-09 10:09:00] derick@php.net Automatic comment on behalf of github@derickrethans.nl Revision: http://git.php.net/?p=php-src.git;a=commit;h=09340ea9b9b2a06c6f1369502806640779073885 Log: Fixed bug #75577: DateTime::createFromFormat does not accept 'v' format specifier, by updating timelib to 2018.01alpha2 ------------------------------------------------------------------------ [2018-10-09 10:07:26] derick@php.net Automatic comment on behalf of github@derickrethans.nl Revision: http://git.php.net/?p=php-src.git;a=commit;h=43f7a5735cbc50c885f6563d63591a684528b4d0 Log: Fixed bug #75577: DateTime::createFromFormat does not accept 'v' format specifier, by updating timelib to 2018.01alpha2 ------------------------------------------------------------------------ [2018-10-08 13:28:29] mail at ciaranmcnulty dot com We just got hit by this too - it looks like support for v and the constant were added for format(), but no changes in createFromFormat (and nothing on the docs pages about v). It's not apparent to someone using the constant why anything would be wrong ------------------------------------------------------------------------ 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 https://bugs.php.net/bug.php?id=75577 -- Edit this bug report at https://bugs.php.net/bug.php?id=75577&edit=1

« previous php.bugs (#230902) next »