|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #47677 date returns EDT for Panama (always EST)
Submitted: 2009-03-16 18:37 UTC Modified: 2009-05-05 01:00 UTC
From: barry dot schatz at gmail dot com Assigned:
Status: No Feedback Package: Date/time related
PHP Version: 5.2.9 OS: Linux 2.6.27
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2009-03-16 18:37 UTC] barry dot schatz at gmail dot com
        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


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 

Actual result:
"-0400 EDT"


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-04-27 20:30 UTC]
Please try using this CVS snapshot:
For Windows:

 [2009-05-05 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Mon Aug 02 20:01:24 2021 UTC