#47677 [Opn->Fbk]: date returns EDT for Panama (always EST)

From: Date: Mon, 27 Apr 2009 20:30:37 +0000
Subject: #47677 [Opn->Fbk]: date returns EDT for Panama (always EST)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-136419@lists.php.net to get a copy of this message
ID: 47677 Updated by: jani@php.net Reported By: barry dot schatz at gmail dot com -Status: Open +Status: Feedback Bug Type: Date/time related Operating System: Linux 2.6.27 PHP Version: 5.2.9 New Comment: Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://windows.php.net/snapshots/ Previous Comments: ------------------------------------------------------------------------ [2009-03-16 18:37:06] barry dot schatz at gmail dot com Description: ------------ echo date(O)."\n"; echo date(T); returns "-0400 EDT" while bash returns xingu ~ # date Mon Mar 16 12:44:40 EST 2009 and xingu ~ # date -u Mon Mar 16 17:45:56 UTC 2009 and system is set to CLOCK="UTC" TIMEZONE="America/Panama" Reproduce code: --------------- echo date(O); echo date(T); Expected result: ---------------- return "-0500 EST" (same as system output) N.B.: countries in the tropics have no need for daylight savings time. Actual result: -------------- "-0400 EDT" ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=47677&edit=1

« previous php.bugs (#136419) next »