• Updated configuration for 2014.
1 parent ccb7dd7 commit 590aceb25a39710b876658b9ab701caa850dca4a
Nigel Stanger authored on 12 Feb 2014
Showing 1 changed file
View
14
generate_calendar_dates.php
 
/*
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( "2012-12-31" );
$first_monday = new DateTime( "2013-12-30" );
 
 
/*
Teaching period configuration. This will need to be updated annually. It's easily extensible to a new teaching period simply by adding a new specification for that period. The key should be mixed-case alphanumeric (i.e., no whitespace, no punctuation or other special characters). The components of each period specification are:
'first_week' => 9,
'last_week' => 22,
'break_weeks' => array(
array(
'break_starts' => 15,
'break_ends' => 15,
'break_starts' => 17,
'break_ends' => 17,
),
),
),
'S2' => array(
'first_week' => 9,
'last_week' => 41,
'break_weeks' => array(
array(
'break_starts' => 17,
'break_ends' => 17,
),
array(
'break_starts' => 23,
'break_ends' => 27,
),
array(
'break_starts' => 15,
'break_ends' => 15,
),
array(
'break_starts' => 35,
'break_ends' => 35,