Edit report at https://bugs.php.net/bug.php?id=64557&edit=1
ID: 64557
User updated by: dcolter at me dot com
Reported by: dcolter at me dot com
Summary: Missing dateTimezone transitions
-Status: Open
+Status: Closed
Type: Bug
Package: Date/time related
Operating System: OSX 10.8.3
PHP Version: 5.3.15
Block user comment: N
Private report: N
New Comment:
I hope it is okay to 'close' this report.
Found further info that the absence of dates it likely due to the region not
following daylight savings time.
Previous Comments:
------------------------------------------------------------------------
[2013-03-31 20:12:43] pajoye@php.net
Please do not change the category again.
------------------------------------------------------------------------
[2013-03-31 17:42:52] dcolter at me dot com
It appears this also causes the result of a check of the DST flag to be 0 in:
date_default_timezone_set ( 'America/Recife' );
date ( 'I' );
Additionally, I have found an absence of current transitions for:
1. America/Recife
2. America/Manaus
3. America/La_Paz
4. America/Lima
5. America/Bogota
6. America/Guayaquil
7. America/Panama
8. America/Costa_Rica
9. America/Managua
10. America/El_Salvador
11. America/Tegucigalpa
12. America/Guatemala
13. America/Belize
14. America/Cayman
15. America/Jamaica
16. America/Santo_Domingo
17. America/Port-au-Prince
18. America/Aruba
19. America/Curacao
20. America/Caracas
21. America/Tortola
Is there a way to become involved in updating these?
------------------------------------------------------------------------
[2013-03-31 16:25:06] dcolter at me dot com
Description:
------------
---
From manual page: http://www.php.net/datetimezone.gettransitions#refsect1-
datetimezone.gettransitions-description
---
PHP version: 5.3.15
This being the first time posting a 'bug report', I'm note sure this is placed and
located correctly. Please feel free to point or move this post.
I have found one timezone of interest that only produces a transition array with
latest 'time' of '2002-02-17T02:00:00+0000'. I suspect now that more may follow.
Is this intended or an oversight? Has it been fixed in a later version?
Can anything be done about the omission?
Test script:
---------------
echo "<pre>";
$timezone = new DateTimeZone ( 'America/Recife' );
$transitions = $timezone -> getTransitions ();
print_r($transitions);
echo "</pre>";
Expected result:
----------------
I expected to see ~ 240 arrays in the transition array with dates out to year
2036.
Actual result:
--------------
The transition array for America/Recife has a count of 40 and has last date in
year 2002.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=64557&edit=1