Merge branch 'master' of gitlab.steinbeisschule-reutlingen.de:L_DA/mod_timetable
This commit is contained in:
commit
31c581e4a6
1 changed files with 1 additions and 1 deletions
|
@ -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"));
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue