MDL-79648 core_course: 29 October repeating day

This commit is contained in:
SergioComeron
2023-11-13 18:33:20 +01:00
parent d7e3b07082
commit 8cd37b6a4e
+1
View File
@@ -409,6 +409,7 @@ class format_weeks extends core_courseformat\base {
// Create a DateTime object for the start date.
$startdateobj = new DateTime("@$startdate");
$startdateobj->setTimezone(core_date::get_user_timezone_object());
// Calculate the interval for one week.
$oneweekinterval = new DateInterval('P7D');