Variable week converted to int
0
README.md
Normal file → Executable 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
0
doc/timetable_search.png
Normal file → Executable file
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 37 KiB |
0
doc/timetable_search_small.png
Normal file → Executable file
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
0
doc/timetable_searchresults.png
Normal file → Executable file
Before Width: | Height: | Size: 73 KiB After Width: | Height: | Size: 73 KiB |
0
doc/timetable_searchresults_small.png
Normal file → Executable file
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 47 KiB |