Edit report at http://bugs.php.net/bug.php?id=54466&edit=1
ID: 54466 Updated by: ahar...@php.net Reported by: jose dot zap at gmail dot com Summary: Timezone offset for America/Caracas is wrong -Status: Open +Status: Feedback Type: Bug Package: Date/time related PHP Version: 5.3.6 Block user comment: N Private report: N New Comment: I'm rather confused by your bug: DateTimeZone::listIdentifiers() doesn't list offsets, and the code that does appears to be correct on any recent PHP version: <?php $tz = new DateTimeZone("America/Caracas"); var_dump($tz->getOffset(new DateTime()) / 3600); ?> outputs float(-4.5), which lines up with your bug. What version of PHP are you running, what does phpinfo() list the Olson Timezone Database Version as, and what do you get when you run the above code? Previous Comments: ------------------------------------------------------------------------ [2011-04-04 17:38:48] jose dot zap at gmail dot com Description: ------------ When using DateTimeZone::listIdentifiers() the offset for America/Caracas is shown as GMT -5:30, when it should be GMT -4:30 This can be validated here http://www.timeanddate.com/library/abbreviations/timezones/sa/vet.html ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=54466&edit=1