#37922 [Opn->Csd]: DATE_ATOM bug

From: Date: Tue, 27 Jun 2006 04:05:07 +0000
Subject: #37922 [Opn->Csd]: DATE_ATOM bug
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-98813@lists.php.net to get a copy of this message
ID: 37922 Updated by: bjori@php.net Reported By: evert at collab dot nl -Status: Open +Status: Closed Bug Type: Date/time related Operating System: Slackware Linux 10.1 PHP Version: 5.1.4 New Comment: Thank you for your bug report. This issue has already been fixed in the latest released version of PHP, which you can download at http://www.php.net/downloads.php bjori@lindsay php5$ sapi/cli/php -r 'var_dump(date(DATE_ATOM));' string(25) "2006-06-27T06:02:08+02:00" Works just fine. Previous Comments: ------------------------------------------------------------------------ [2006-06-27 03:44:58] evert at collab dot nl Sorry.. firefox automatically filled in this faulty title in the confimation screen.. it's definitly a different bug as #32983 ------------------------------------------------------------------------ [2006-06-27 03:18:24] evert at collab dot nl Description: ------------ date(DATE_ATOM) produces an incorrect date seems to look like Bug #36224, however, this was said to be fixed in CVS and since then several php releases have been spread.. Reproduce code: --------------- echo(date(DATE_ATOM)); Expected result: ---------------- something like 2006-06-27T05:14:02+02:00 Actual result: -------------- 2006-06-27T05:14:02+0200 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=37922&edit=1

« previous php.bugs (#98813) next »