diff options
author | ArthurHoaro <arthur@hoa.ro> | 2016-05-03 20:09:24 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2016-05-03 20:09:24 +0200 |
commit | 12ff86c961b49727fcae97938e864766aa77a2a9 (patch) | |
tree | d66dd252d0a1d5f935fe4784be896ce22434b775 /application | |
parent | 9ad2950debf1d9e4528700854cf7c02daac9636d (diff) | |
download | Shaarli-12ff86c961b49727fcae97938e864766aa77a2a9.tar.gz Shaarli-12ff86c961b49727fcae97938e864766aa77a2a9.tar.zst Shaarli-12ff86c961b49727fcae97938e864766aa77a2a9.zip |
Use correct 'UTC' timezone
Diffstat (limited to 'application')
-rw-r--r-- | application/TimeZone.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/application/TimeZone.php b/application/TimeZone.php index e363d90a..26f2232d 100644 --- a/application/TimeZone.php +++ b/application/TimeZone.php | |||
@@ -101,10 +101,6 @@ function generateTimeZoneForm($preselectedTimezone='') | |||
101 | */ | 101 | */ |
102 | function isTimeZoneValid($continent, $city) | 102 | function isTimeZoneValid($continent, $city) |
103 | { | 103 | { |
104 | if ($continent == 'UTC' && $city == 'UTC') { | ||
105 | return true; | ||
106 | } | ||
107 | |||
108 | return in_array( | 104 | return in_array( |
109 | $continent.'/'.$city, | 105 | $continent.'/'.$city, |
110 | timezone_identifiers_list() | 106 | timezone_identifiers_list() |