ID:               44780
 Comment by:       mfburdett at gmail dot com
 Reported By:      shawn dot parker at alttech dot com
 Status:           Assigned
 Bug Type:         Date/time related
 Operating System: *
 PHP Version:      5CVS-2008-08-14
 Assigned To:      derick
 New Comment:

The affected population sizes of the two issues may be similar after
all: China standard time is missing from the fallbackmap (offset 8
hours, daylight saving time 0).


Previous Comments:
------------------------------------------------------------------------

[2008-11-07 17:25:33] mfburdett at gmail dot com

Looking at
http://cvs.php.net/viewvc.cgi/php-src/ext/date/lib/fallbackmap.h?revision=1.3&view=markup
it appears to be a simple bug: lookups of the fallbackmap are not
working for any of the time zones with non-integer offsets.  A more
minor issue (in terms of affected population size) is that some valid
offsets are missing from the fallbackmap.

------------------------------------------------------------------------

[2008-11-06 20:22:31] mfburdett at gmail dot com

Note some of the above abbreviations are obsolete, e.g. BURT has been
replaced with MMT.  But the point is timezone_name_from_abbr() does not
work for those offsets without an abbreviation.

------------------------------------------------------------------------

[2008-11-06 18:27:36] jjkd at jjkd dot com

In my testing, this is the list of offsets that do not work for PHP
5.2.6:

-34200, ckhst
-16200, ant
-12600, negt
-7200, addt
12600, irst
16200, aft
19800, ist
20700, npt
21600, aktst
23400, burt
28800, bnt
34200, cast
35100, cwst
37800, cst
39600, anat
41400, lhst
46800, anast
49500, chadt
50400, anast

------------------------------------------------------------------------

[2008-11-05 19:34:41] mfburdett at gmail dot com

Also does not return a time zone for Indian Standard Time:
timezone_name_from_abbr('', 19800, 0)

------------------------------------------------------------------------

[2008-08-14 19:47:11] [EMAIL PROTECTED]

Assigned to the date/time guru.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/44780

-- 
Edit this bug report at http://bugs.php.net/?id=44780&edit=1

Reply via email to