Merge branch 'master' of gitlab.steinbeisschule-reutlingen.de:L_DA/mod_timetable

This commit is contained in:
L_DA 2021-01-02 15:50:49 +01:00
commit 31c581e4a6

View file

@ -114,7 +114,7 @@ class timetable {
$this->monday->sub(new \DateInterval("P".($dayofweek-1)."D"));
}
$this->week = $this->monday->format("W");
$this->week = intval($this->monday->format("W"));
$this->lastday = new \DateTime($this->monday->format('Y-m-d\TH:i:sP'));
$this->lastday->add(new \DateInterval("P".($this->numdayweek-1)."D"));