import of substitutions in MoodleDB (rd)
This commit is contained in:
parent
85f5a13f9f
commit
a6334e6c86
15 changed files with 154 additions and 32 deletions
1
block_timetable.php
Normal file → Executable file
1
block_timetable.php
Normal file → Executable file
|
|
@ -107,6 +107,7 @@ class block_timetable extends block_base {
|
|||
}
|
||||
|
||||
$week = $monday->format("W");
|
||||
$week++;
|
||||
$lastday = new DateTime($monday->format('Y-m-d\TH:i:sP'));
|
||||
$lastday->add(new DateInterval("P".($numdayweek-1)."D"));
|
||||
$this->content->text .= $monday->format('d.m') . " - " . $lastday->format('d.m');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue