Fix time picker, WIP date picker

This commit is contained in:
2025-10-15 20:03:43 +01:00
parent 0ed89df995
commit 5e9bad058f
3 changed files with 267 additions and 51 deletions
-1
View File
@@ -85,7 +85,6 @@
let defaultHours = $state<WorkingHourRow[]>([]);
let defaultHoursIsLoading = $state(true);
/** Format time from HH:MM:SS to 12-hour format */
/** Format time from HH:MM:SS to 12-hour format, with "Noon" for 12:00 PM */
function formatTime(time: string): string {
const [hours, minutes] = time.split(':').map(Number);