Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dillchuk/timezone-options
Generates a list of time zones and descriptions, for use in a select field.
https://github.com/dillchuk/timezone-options
Last synced: about 2 months ago
JSON representation
Generates a list of time zones and descriptions, for use in a select field.
- Host: GitHub
- URL: https://github.com/dillchuk/timezone-options
- Owner: dillchuk
- License: mit
- Created: 2017-10-01T15:26:21.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-01T18:08:30.000Z (over 7 years ago)
- Last Synced: 2024-04-21T13:28:52.992Z (9 months ago)
- Language: PHP
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TimezoneOptions
~~~
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
...
)
...)
)
/*
~~~