Edit report at https://bugs.php.net/bug.php?id=60332&edit=1
ID: 60332
User updated by: nazar-pc at yandex dot ru
Reported by: nazar-pc at yandex dot ru
Summary: timezone_abbreviations_list() returns incorrect time
offset
Status: Open
Type: Bug
Package: Date/time related
Operating System: Ubuntu Linux 11.10
-PHP Version: 5.3.8
+PHP Version: 5.3.6
Block user comment: N
Private report: N
New Comment:
PHP version corrected
Previous Comments:
------------------------------------------------------------------------
[2011-11-19 01:57:45] nazar-pc at yandex dot ru
Description:
------------
---
>From manual page: http://www.php.net/datetimezone.listabbreviations
---
Function timezone_abbreviations_list() returns incorrect values of time offset.
For example, I live in Ukraine, Kiev (timezone Europe/Kiev) with time offset +2
hours, but function returns value, that equals to +2:02:04 (in seconds 7324),
similar problems are for other timezones.
Other cities in my country has the same offset +2 hours, but function returns
other values from interval +2 till +3 hours, why?
But functions, which works with time after changing of timezone return correct
values, so, the problem is only in this function.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=60332&edit=1