illchuk / timezone-options
Generates a list of time zones and descriptions, for use in a select field.
dev-master
2017-10-01 18:08 UTC
Requires
- php: >=5.4
Requires (Dev)
- phpunit/dbunit: 2.0.x-dev
- phpunit/phpunit: ~4.0
This package is auto-updated.
Last update: 2025-01-08 10:36:12 UTC
README
TimezoneOptions::generate();
/*
Generates results indexed in several ways:
Array
(
[regions] => Array
(
[Africa] => Array
(
[Africa/Abidjan] => Abidjan
[Africa/Accra] => Accra
...
)
[America] => Array
(
[America/Adak] => Adak
[America/Anchorage] => Anchorage
...
)
...
)
[time] => Array
(
[00:28] => Array
(
[Asia/Rangoon] => Rangoon
[Indian/Cocos] => Cocos
...
)
[00:58] => Array
(
[Antarctica/Davis] => Davis
[Asia/Bangkok] => Bangkok
...
)
...
[13:58] => Array
(
[America/Anguilla] => Anguilla
[America/Antigua] => Antigua
...
)
...
)
[offset] => Array
(
...
[-04:00] => Array
(
[America/Anguilla] => Anguilla
[America/Antigua] => Antigua
...
)
...
[+02:00] => Array
(
[Africa/Blantyre] => Blantyre
[Africa/Bujumbura] => Bujumbura
...
)
...
)
)
/*