From 0667783cff5934d651b806452cc244136cb863cc Mon Sep 17 00:00:00 2001 From: Lennart Heinrich Date: Fri, 28 Nov 2025 20:07:17 +0100 Subject: [PATCH] fix performance start time --- .../performance-scheduling/performance-scheduling.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/performance-scheduling/performance-scheduling.component.ts b/src/app/performance-scheduling/performance-scheduling.component.ts index 855a9f4..10abf42 100644 --- a/src/app/performance-scheduling/performance-scheduling.component.ts +++ b/src/app/performance-scheduling/performance-scheduling.component.ts @@ -223,6 +223,7 @@ export class PerformanceSchedulingComponent implements OnInit { } private generateNewPerformanceObject(start: Date, hall: Kinosaal, movie: Film): Vorstellung { + start.setTime(start.getTime() - start.getTimezoneOffset() * 60_000); return { id: 0, // Wird durch das Backend gesetzt start: start,