#37808 [NEW]: Wrong Date format specified in imap_check()

From: Date: Wed, 14 Jun 2006 20:13:07 +0000
Subject: #37808 [NEW]: Wrong Date format specified in imap_check()
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969373292@lists.php.net to get a copy of this message
From: yincrash at gmail dot com Operating system: Any PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: Wrong Date format specified in imap_check() 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 bug report at http://bugs.php.net/?id=37808&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37808&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=37808&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37808&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=37808&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=37808&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=37808&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=37808&r=needscript Try newer version: http://bugs.php.net/fix.php?id=37808&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=37808&r=support Expected behavior: http://bugs.php.net/fix.php?id=37808&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=37808&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=37808&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=37808&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37808&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=37808&r=dst IIS Stability: http://bugs.php.net/fix.php?id=37808&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=37808&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=37808&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=37808&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=37808&r=mysqlcfg

« previous php.doc (#969373292) next »