fix bugs with calendar page, highlight next event

This commit is contained in:
marlon-erler
2026-09-25 19:57:35 +02:00
parent 58d64858db
commit bdbd5fa123
15 changed files with 411 additions and 296 deletions
+4
View File
@@ -18,6 +18,10 @@ export function createTimestamp(): string {
return new Date().toISOString();
}
export function formatISO(date: Date): string {
return date.toISOString().split("T")[0];
}
export function formatTime(date: Date): string {
const time = [date.getHours(), date.getMinutes()];
return time.join(":");