|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57298 Apparently the php is not returnin my hour correctly ( gmt-3 )
Submitted: 2006-10-17 08:53 UTC Modified: 2006-10-17 13:09 UTC
From: ricardo dot maraschini at opservices dot com dot br Assigned: derick (profile)
Status: Closed Package: timezonedb (PECL)
PHP Version: 5.1.6 OS: Linux Fedora Core 3 )
Private report: No CVE-ID: None
 [2006-10-17 08:53 UTC] ricardo dot maraschini at opservices dot com dot br
I use the release 2006.11 of timezonedb on php 5.1.6. We are here at gmt-3( America/Sao_Paulo ) but the php is returning me gmt-2.
This problem begin on 15-Oct. The daylight saving here will begin on 05-Nov, but it was first previst to began in last 15-Oct.

Reproduce code:
print date_default_timezone_get();

= America/Sao_Paulo ( correct )

print date('O');
= -0200

I believe that the correct result is -0300.

Expected result:
print date('O');


Actual result:
print date('O');



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-10-17 13:09 UTC]
Thank you for your bug report. This issue has been fixed
in the latest released version of the package, which you can download at

It's in the new 2006.14 release now.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 28 20:01:31 2024 UTC