Re: Asia Timezone
| From: | Derick Rethans | Date: | Mon, 16 Sep 2013 09:18:13 +0000 |
| Subject: | Re: Asia Timezone | ||
| References: | 1 2 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-16609@lists.php.net to get a copy of this message | ||
On Sat, 14 Sep 2013, Hannes Magnusson wrote:
> On Wed, Sep 11, 2013 at 3:31 AM, Vaibhav Mehta <firekillz@gmail.com> wrote:
> > Timezone Asia/Calcutta should be removed from newer PHP version to avoid
> > confusion as the city name is now changed to Kolkata.
>
> We use the timezone database from IANA[1], which I suspect will
> include this change in its next update.
Actually, both of them are in there. The TZDB doesn't remove old names.
However, if you ask for all zones in India, it will only show up with
the new name as the old one is listed for "backwards" reasons only:
$ php -r 'var_dump( DateTimeZone::listIdentifiers( DateTimeZone::PER_COUNTRY, "IN" )
);'
array(1) {
[0] =>
string(12) "Asia/Kolkata"
}
cheers,
Derick
--
http://derickrethans.nl | http://xdebug.org
Like Xdebug? Consider a donation: http://xdebug.org/donate.php
twitter: @derickr and @xdebug
Posted with an email client that doesn't mangle email: alpine