From 9e89e65d23e2bdfbb93a04dcfeb5c1d64718878b Mon Sep 17 00:00:00 2001 From: "Lee, Hyo jun" Date: Fri, 16 Oct 2026 17:57:13 +0900 Subject: [PATCH] fix(mobile): sort time zones by name within the same offset (#32087) --- mobile/lib/widgets/common/date_time_picker.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mobile/lib/widgets/common/date_time_picker.dart b/mobile/lib/widgets/common/date_time_picker.dart index 6b4f714e5..6b30efe82 100644 --- a/mobile/lib/widgets/common/date_time_picker.dart +++ b/mobile/lib/widgets/common/date_time_picker.dart @@ -181,6 +181,7 @@ abstract class _TimeZoneOffset with _$TimeZoneOffset implements Comparable<_Time @override int compareTo(_TimeZoneOffset other) { - return offsetInMilliseconds.compareTo(other.offsetInMilliseconds); + final offset = offsetInMilliseconds.compareTo(other.offsetInMilliseconds); + return offset != 0 ? offset : location.name.compareTo(other.location.name); } }