diff options
author | Frédéric Guillot <contact@fredericguillot.com> | 2014-02-24 18:08:58 -0500 |
---|---|---|
committer | Frédéric Guillot <contact@fredericguillot.com> | 2014-02-24 18:08:58 -0500 |
commit | 64e2e072294563b7c834382c2de631687f235fe8 (patch) | |
tree | cdfc0e7ae9b72e2d6166376a8c757a0325152c30 /models/config.php | |
parent | e374a6fd6499b50d4587d136490ced7444f8bc2b (diff) |
Improve timezone pull-request and settings page
Diffstat (limited to 'models/config.php')
-rw-r--r-- | models/config.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/models/config.php b/models/config.php index f4d34986..a00d0b7e 100644 --- a/models/config.php +++ b/models/config.php @@ -9,6 +9,12 @@ class Config extends Base { const TABLE = 'config'; + public function getTimezones() + { + $timezones = \timezone_identifiers_list(); + return array_combine(array_values($timezones), $timezones); + } + public function getLanguages() { $languages = array( |