#37808 [Opn->Csd]: Wrong Date format specified in imap_check()

From: Date: Tue, 12 Sep 2006 21:45:41 +0000
Subject: #37808 [Opn->Csd]: Wrong Date format specified in imap_check()
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969374013@lists.php.net to get a copy of this message
ID: 37808 Updated by: bjori@php.net Reported By: yincrash at gmail dot com -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: Any PHP Version: Irrelevant -Assigned To: +Assigned To: bjori New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2006-06-14 20:13:07] yincrash at gmail dot com Description: ------------ The Date being returned by imap_check() is not RFC822 formatted, it is RFC2822 formatted. RFC822 does not include 4 digit years or having the zone + the time differential. Reproduce code: --------------- var_export(imap_check($imap)); Expected result: ---------------- class stdClass { var $Date = 'Wed, 14 Jun 06 16:07:21 -0400; var $Driver = 'imap'; var $Mailbox = '{vfemail.net:143/imap/user="miketest@vfemail.net"}INBOX'; var $Nmsgs = 2; var $Recent = 0; } Actual result: -------------- class stdClass { var $Date = 'Wed, 14 Jun 2006 16:07:21 -0400 (Eastern Standard Time)'; var $Driver = 'imap'; var $Mailbox = '{vfemail.net:143/imap/user="miketest@vfemail.net"}INBOX'; var $Nmsgs = 2; var $Recent = 0; } ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=37808&edit=1

« previous php.doc (#969374013) next »