#37616 [NEW]: DATE_RFC822 does not product RFC 822 dates
From: evert at collab dot nl
Operating system: Debian
PHP version: 5.1.4
PHP Bug Type: Date/time related
Bug description: DATE_RFC822 does not product RFC 822 dates
Description:
------------
The DATE_RFC822 constant does not always produce proper dates
It puts a 'CEST' time zone identifier in the end of the string, however
there are only a few time zone abbriviations that are 'legal' in RFC 822,
instead it should show the offset in these cases..
Reproduce code:
---------------
echo(date(RFC822));
Expected result:
----------------
Thu, 25 May 2006 01:11:01 +0100
Actual result:
--------------
Thu, 25 May 2006 01:11:01 CEST
--
Edit bug report at http://bugs.php.net/?id=37616&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37616&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=37616&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37616&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=37616&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=37616&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=37616&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=37616&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=37616&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=37616&r=support
Expected behavior: http://bugs.php.net/fix.php?id=37616&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=37616&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=37616&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=37616&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37616&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=37616&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=37616&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=37616&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=37616&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=37616&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=37616&r=mysqlcfg
Thread (6 messages)
- evert at collab dot nl