From 83594a0ceebdec317adee97875e1f831767751a3 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 6b4f714e5f..6b30efe820 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); } }