mobile: fix 24 hour reminder time

This commit is contained in:
Ammar Ahmed
2023-10-30 10:17:35 +05:00
committed by Ammar Ahmed
parent b7690f13b1
commit efad22c00a

View File

@@ -531,9 +531,7 @@ export default function ReminderSheet({
androidVariant="nativeAndroid"
is24hourSource="locale"
locale={
db.settings?.getTimeFormat() === "24-hour"
? "en_GB.UTF8"
: "en_US.UTF8"
db.settings?.getTimeFormat() === "24-hour" ? "en_GB" : "en_US"
}
mode={reminderMode === ReminderModes.Repeat ? "time" : "datetime"}
/>