fix performance start time
This commit is contained in:
@@ -223,6 +223,7 @@ export class PerformanceSchedulingComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private generateNewPerformanceObject(start: Date, hall: Kinosaal, movie: Film): Vorstellung {
|
private generateNewPerformanceObject(start: Date, hall: Kinosaal, movie: Film): Vorstellung {
|
||||||
|
start.setTime(start.getTime() - start.getTimezoneOffset() * 60_000);
|
||||||
return {
|
return {
|
||||||
id: 0, // Wird durch das Backend gesetzt
|
id: 0, // Wird durch das Backend gesetzt
|
||||||
start: start,
|
start: start,
|
||||||
|
|||||||
Reference in New Issue
Block a user