Comments (5)
Thank you @iniva this will be considered in next update..
from countries.
It does not require to use any library to get country timezones.
\DateTimeZone::listIdentifiers(\DateTimeZone::PER_COUNTRY, $countryCode)
To get country locales use Intl extension.
$list = [];
foreach (\ResourceBundle::getLocales('') as $localeCode) {
if ($countryCode = \Locale::getRegion($localeCode)) {
$list[$countryCode][] = $localeCode;
}
}
from countries.
Hi @Omranic Has this feature been supported?
from countries.
Not yet, but would love to accept PRs 👌
from countries.
Thank you all, this is now supported, Check #66 :)
from countries.
Related Issues (20)
- Array access on bool when retrieving short list of countries on PHP 7.4 HOT 2
- Guinea-Bissau Flag & official name of Portugal HOT 5
- PHP 7.4 as minimum? HOT 2
- IOC code for Singapore is `SGP` instead of `SIN` HOT 2
- Regions and cities HOT 1
- States for HongKong are missing? HOT 1
- Countries Affected by GDPR HOT 5
- php 8 support HOT 4
- Vietnam's flag seems broken HOT 1
- Wrong bounding box for China HOT 9
- [proposal] add population data HOT 5
- Divisions ISO2 codes are not updated. HOT 1
- Italy detail in shortlist.json is incorrect. HOT 1
- Please update Belarus for German (deu) HOT 1
- Wrong boundary box for China HOT 1
- Italy native name and main language HOT 1
- Oddity with Bonaire translations HOT 1
- Get country codes by region HOT 1
- List all regions HOT 1
- Spain native_name and native_official_name in shortlist.json is incorrect. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from countries.