From: Raphaƫl Gertz Date: Sat, 10 Apr 2021 13:04:19 +0000 (+0200) Subject: Update timing X-Git-Tag: 0.2.1~3 X-Git-Url: https://git.rapsys.eu/airbundle/commitdiff_plain/4ffc23d44bf9025acf216999d3ada7df5668f2a6?hp=fac2911626745390739df877bf3dbc50fb5efd8e Update timing --- diff --git a/Controller/ApplicationController.php b/Controller/ApplicationController.php index 17c9f91..88bb182 100644 --- a/Controller/ApplicationController.php +++ b/Controller/ApplicationController.php @@ -126,10 +126,10 @@ class ApplicationController extends DefaultController { //Check if afternoon } elseif ($slot == 'Afternoon') { //Set begin at 14h - $session->setBegin(new \DateTime('14:00:00')); + $session->setBegin(new \DateTime('14:30:00')); //Set length at 5h - $session->setLength(new \DateTime('05:00:00')); + $session->setLength(new \DateTime('04:30:00')); //Check if evening } elseif ($slot == 'Evening') { //Set begin at 19h