Variable week converted to int

This commit is contained in:
L_DA 2021-01-02 15:48:21 +01:00
parent be422d0fef
commit 0aa3854495
7 changed files with 1 additions and 1 deletions

0
README.md Normal file → Executable file
View file

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"));

0
doc/.gitkeep Normal file → Executable file
View file

0
doc/timetable_search.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 37 KiB

0
doc/timetable_search_small.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

0
doc/timetable_searchresults.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 73 KiB

After

Width:  |  Height:  |  Size: 73 KiB

0
doc/timetable_searchresults_small.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 47 KiB