Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit ce258e13 authored by Christoph Wurst's avatar Christoph Wurst
Browse files

Do not multiple event length x60



The length is in seconds already.

Signed-off-by: default avatarChristoph Wurst <christoph@winzerhof-wurst.at>
parent 59503c7e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -89,7 +89,7 @@ class BookingCalendarWriter {
				'SUMMARY' => $config->getName(),
				'STATUS' => 'CONFRIMED',
				'DTSTART' => $start,
				'DTEND' => $start->setTimestamp($start->getTimestamp() + ($config->getLength() * 60)) // *60 can be removed as soon as the switch to seconds as intervals etc is complete
				'DTEND' => $start->setTimestamp($start->getTimestamp() + ($config->getLength()))
			]
		]);