From 7e18210668704f1c492bc224e85b8c88fbf17067 Mon Sep 17 00:00:00 2001 From: Lance Conry Date: Wed, 27 Aug 2025 12:47:54 +1000 Subject: [PATCH] Sort the first user timezone list as floats, rather than strings. --- install/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/index.php b/install/index.php index c7d54add9..937a498f1 100644 --- a/install/index.php +++ b/install/index.php @@ -1009,7 +1009,7 @@ if (!file_exists('.lock') && !file_exists('../application/config/config.php') && ]; usort($timezones, function ($a, $b) { - return strcmp($a[1], $b[1]); + return floatval($a[1]) <=> floatval($b[1]); }); // Loop through timezones to generate options