diff --git a/generate_calendar_dates.php b/generate_calendar_dates.php index 0d4b99f..d053b14 100644 --- a/generate_calendar_dates.php +++ b/generate_calendar_dates.php @@ -8,7 +8,7 @@ /* Date of the Monday of the first academic week of the year. Teaching weeks start on Monday, so this is a convenient base point to start from. This will need to be updated annually. */ -$first_monday = new DateTime( "2014-12-29" ); +$first_monday = new DateTime( "2016-01-04" ); /* @@ -32,53 +32,53 @@ */ $periods = array( 'SS' => array( - 'first_week' => 2, - 'last_week' => 7, - 'break_weeks' => array( - array( - 'break_starts' => 0, - 'break_ends' => 0, - ), - ), - ), + 'first_week' => 2, + 'last_week' => 7, + 'break_weeks' => array( + array( + 'break_starts' => 0, + 'break_ends' => 0, + ), + ), + ), 'S1' => array( - 'first_week' => 9, - 'last_week' => 22, - 'break_weeks' => array( - array( - 'break_starts' => 15, - 'break_ends' => 15, - ), - ), - ), + 'first_week' => 9, + 'last_week' => 22, + 'break_weeks' => array( + array( + 'break_starts' => 13, + 'break_ends' => 13, + ), + ), + ), 'S2' => array( - 'first_week' => 28, - 'last_week' => 41, - 'break_weeks' => array( - array( - 'break_starts' => 35, - 'break_ends' => 35, - ), - ), - ), + 'first_week' => 28, + 'last_week' => 41, + 'break_weeks' => array( + array( + 'break_starts' => 35, + 'break_ends' => 35, + ), + ), + ), 'FY' => array( - 'first_week' => 9, - 'last_week' => 41, - 'break_weeks' => array( - array( - 'break_starts' => 15, - 'break_ends' => 15, - ), - array( - 'break_starts' => 23, - 'break_ends' => 27, - ), - array( - 'break_starts' => 35, - 'break_ends' => 35, - ), - ), - ), + 'first_week' => 9, + 'last_week' => 41, + 'break_weeks' => array( + array( + 'break_starts' => 13, + 'break_ends' => 13, + ), + array( + 'break_starts' => 23, + 'break_ends' => 27, + ), + array( + 'break_starts' => 35, + 'break_ends' => 35, + ), + ), + ), );