#44780 [Com]: some time zone offsets not recognized by timezone_name_from_abbr
From: mfburdett at gmail dot com Date: Wed, 05 Nov 2008 19:34:42 +0000 Subject: #44780 [Com]: some time zone offsets not recognized by timezone_name_from_abbr References: 1 Groups: php.bugs Request: Send a blank email to php-bugs+get-130667@lists.php.net to get a copy of this message
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:
Also does not return a time zone for Indian Standard Time:
timezone_name_from_abbr('', 19800, 0)
Previous Comments:
------------------------------------------------------------------------
[2008-08-14 19:47:11] jani@php.net
Assigned to the date/time guru.
------------------------------------------------------------------------
[2008-04-18 21:11:10] shawn dot parker at alttech dot com
Just a quick note - this time a year, for my time zone, that should
return Anchorage (or something else in the AHST time zone) because of
DST.
------------------------------------------------------------------------
[2008-04-18 20:46:46] shawn dot parker at alttech dot com
Description:
------------
timezone_name_from_abbr() will return false on some time zone
offsets. In particular - Hawaii, which has a -10 from GMT offset,
-36000
seconds.
Using Denver's offset, -21600 works fine, as do most offsets, but
occasionally offsets don't return correctly.
Reproduce code:
---------------
var_dump( timezone_name_from_abbr('',-36000,1) );
Expected result:
----------------
A time zone, like maybe 'Pacific/Honolulu'
Actual result:
--------------
false
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44780&edit=1
Thread (17 messages)
- #44780 [Opn]: some time zone offsets not recognized by timezone_name_from_abbr
- #44780 [Opn->Asn]: some time zone offsets not recognized by timezone_name_from_abbr
- #44780 [Com]: some time zone offsets not recognized by timezone_name_from_abbr
- #44780 [Com]: some time zone offsets not recognized by timezone_name_from_abbr
- #44780 [Com]: some time zone offsets not recognized by timezone_name_from_abbr
- #44780 [Com]: some time zone offsets not recognized by timezone_name_from_abbr
- #44780 [Com]: some time zone offsets not recognized by timezone_name_from_abbr
- #44780 [Com]: some time zone offsets not recognized by timezone_name_from_abbr
- #44780 [Com]: some time zone offsets not recognized by timezone_name_from_abbr
- Bug #44780 [Com]: some time zone offsets not recognized by timezone_name_from_abbr
- Bug #44780 [Com]: some time zone offsets not recognized by timezone_name_from_abbr
- Bug #44780 [Asn->Csd]: some time zone offsets not recognized by timezone_name_from_abbr
- Bug #44780 [Com]: some time zone offsets not recognized by timezone_name_from_abbr
- Bug #44780 [Com]: some time zone offsets not recognized by timezone_name_from_abbr
- Bug #44780 [Com]: some time zone offsets not recognized by timezone_name_from_abbr
- Bug #44780 [Csd]: some time zone offsets not recognized by timezone_name_from_abbr
| « previous | php.bugs (#130667) | next » |
|---|