|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2007-02-01 18:51 UTC] tony2001@php.net
  [2007-02-01 19:00 UTC] derick@php.net
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 01:00:01 2025 UTC | 
Description: ------------ The DATE_RFC822 constant produces not RFC822 conform output. RFC822 standard only defines the +xx00, GMT and american abbreviated constants. But not CET and all other timezone abbreviations. For worldwide RFC conform output +xx00 should be used instead of timezone abbreviation. Reproduce code: --------------- date_default_timezone_set('Europe/Vienna'); print "\n".date(DATE_RFC822); Expected result: ---------------- Thu, 01 Feb 2007 19:38:55 +0100 Actual result: -------------- Thu, 01 Feb 2007 19:38:55 CET