MDL-79648 core_course: 29 October repeating day

This commit is contained in:
SergioComeron
2023-11-13 18:35:44 +01:00
parent 8ad9114050
commit bce9cfdfd5
+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');