ID: 45459 Updated by: [EMAIL PROTECTED] Reported By: php at benjaminschulz dot com -Status: Open +Status: Assigned Bug Type: Date/time related Operating System: linux / darwin PHP Version: 5.3CVS-2008-07-08 (CVS) -Assigned To: +Assigned To: derick New Comment:
It's not really a bug, the specifiers used are not 100% the same, but I'll see if I can make it work better. Previous Comments: ------------------------------------------------------------------------ [2008-07-08 15:45:06] php at benjaminschulz dot com Description: ------------ date_create_from_format() is unable to parse DATE_RFC3339 Reproduce code: --------------- <?php $date = new ::DateTime; $otherdate = date_create_from_format(DATE_RFC3339, $date->format(DATE_RFC3339)); var_dump($otherdate); Expected result: ---------------- A ::DateTime object Actual result: -------------- false ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=45459&edit=1
