aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/TimeZone.php
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2016-05-03 20:09:24 +0200
committerArthurHoaro <arthur@hoa.ro>2016-05-03 20:09:24 +0200
commit12ff86c961b49727fcae97938e864766aa77a2a9 (patch)
treed66dd252d0a1d5f935fe4784be896ce22434b775 /application/TimeZone.php
parent9ad2950debf1d9e4528700854cf7c02daac9636d (diff)
downloadShaarli-12ff86c961b49727fcae97938e864766aa77a2a9.tar.gz
Shaarli-12ff86c961b49727fcae97938e864766aa77a2a9.tar.zst
Shaarli-12ff86c961b49727fcae97938e864766aa77a2a9.zip
Use correct 'UTC' timezone
Diffstat (limited to 'application/TimeZone.php')
-rw-r--r--application/TimeZone.php4
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 */
102function isTimeZoneValid($continent, $city) 102function 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()