import of substitutions in MoodleDB (rd)

This commit is contained in:
L_DA 2020-06-30 19:26:24 +00:00
parent 85f5a13f9f
commit a6334e6c86
15 changed files with 154 additions and 32 deletions

1
block_timetable.php Normal file → Executable file
View 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');