Bug #13885: gmdate("r"); adds timezone instead of 'GMT'.

From: Date: Wed, 31 Oct 2001 11:45:57 +0000
Subject: Bug #13885: gmdate("r"); adds timezone instead of 'GMT'.
Groups: php.dev 
Request: Send a blank email to php-dev+get-69411@lists.php.net to get a copy of this message
From: root@mediamonks.net Operating system: Windows 2000 SP2 PHP version: 4.0.6 PHP Bug Type: Date/time related Bug description: gmdate("r"); adds timezone instead of 'GMT'. The 'r' format string doesn't work as expected: print(date("r", 1)); Prints: "Thu, 1 Jan 1970 01:00:01 +0100" print(gmdate("r",1)); Prints: "Thu, 1 Jan 1970 00:00:01 +0100" I think the '+0100' should've been 'GMT'. (Done on a system with GMT+1) -- Edit bug report at: http://bugs.php.net/?id=13885&edit=1

« previous php.dev (#69411) next »