From d0a4f6678cb2c2affd6bd9761567656274c7cc7c Mon Sep 17 00:00:00 2001 From: david072 Date: Fri, 17 Nov 2023 19:47:18 +0100 Subject: [PATCH] Calendar/AddEventDialog: Change SpinBoxes to accept 24-hour values Since the meridiem selection was removed in the previous commit and there currently doesn't seem to be a way to change the system time format, I'm changing the SpinBoxes here to accept 24-hour format values for now. --- Userland/Applications/Calendar/AddEventDialog.gml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Userland/Applications/Calendar/AddEventDialog.gml b/Userland/Applications/Calendar/AddEventDialog.gml index 9cbe0fe01d..d1143dd1e2 100644 --- a/Userland/Applications/Calendar/AddEventDialog.gml +++ b/Userland/Applications/Calendar/AddEventDialog.gml @@ -51,13 +51,13 @@ name: "start_hour" fixed_size: [50, 20] min: 1 - max: 12 + max: 24 } @GUI::SpinBox { name: "start_minute" fixed_size: [40, 20] - min: 1 + min: 0 max: 59 } } @@ -91,13 +91,13 @@ name: "end_hour" fixed_size: [50, 20] min: 1 - max: 12 + max: 24 } @GUI::SpinBox { name: "end_minute" fixed_size: [40, 20] - min: 1 + min: 0 max: 59 } }