On Sat, 14 Sep 2013, Hannes Magnusson wrote:
> On Wed, Sep 11, 2013 at 3:31 AM, Vaibhav Mehta <[email protected]> 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
--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php