Bug #44780 [Csd]: some time zone offsets not recognized by timezone_name_from_abbr

From: Date: Thu, 29 Sep 2016 13:05:30 +0000
Subject: Bug #44780 [Csd]: 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-204340@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=44780&edit=1

 ID:                 44780
 Updated by:         cmb@php.net
 Reported by:        shawn dot parker at alttech dot com
 Summary:            some time zone offsets not recognized by
                     timezone_name_from_abbr
 Status:             Closed
 Type:               Bug
 Package:            Date/time related
 Operating System:   *
 PHP Version:        5CVS-2008-08-14
 Assigned To:        derick
 Block user comment: N
 Private report:     N

 New Comment:

> As this shows closed, what version is this supposedly fixed in?

This issue is fixed as of PHP 5.4.26 and 5.5.10. If you still
experience problems, please open a new ticket and provide a
reproduce script.


Previous Comments:
------------------------------------------------------------------------
[2015-10-29 18:43:08] jeff at moreactive dot com

This is still an issue as of PHP 5.5.27

PHP 5.5.27 (cli) (built: Jul 23 2015 00:21:59)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies


As this shows closed, what version is this supposedly fixed in?

------------------------------------------------------------------------
[2014-10-07 23:27:13] stas@php.net

Automatic comment on behalf of github@derickrethans.nl
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=e6ab180394f4d6fe2f0a50887b098af24a3d765c
Log: Fixed bug #44780: some time zone offsets not recognized by timezone_name_from_abbr.

------------------------------------------------------------------------
[2014-10-07 23:16:05] stas@php.net

Automatic comment on behalf of github@derickrethans.nl
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=e6ab180394f4d6fe2f0a50887b098af24a3d765c
Log: Fixed bug #44780: some time zone offsets not recognized by timezone_name_from_abbr.

------------------------------------------------------------------------
[2014-04-12 10:16:24] dhaval007sisodiya at gmail dot com

I use following code to get timezone name:  
$timezoneOffset = "05:30";
echo $timezone_name = timezone_name_from_abbr("",$timezoneOffset*3600,0);

but it's output is : Asia/Karachi
Expected output: Asia/Kolkata

------------------------------------------------------------------------
[2014-03-12 14:14:24] arjen at react dot com

This issue isn't mentioned in the 5.5.10 changelog @ http://www.php.net/ChangeLog-5.php#5.5.10

Same for #45543

Following scripts shows the difference between 5.5.9 and 5.5.10: 
http://3v4l.org/1qPqL

Not sure which of these bugs causes this change, but I think it's worth mentioning in these
changelog...

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


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

    https://bugs.php.net/bug.php?id=44780


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


Thread (17 messages)

« previous php.bugs (#204340) next »