| |
---|
| | */ |
---|
| | |
---|
| | |
---|
| | /* |
---|
| | 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. |
---|
| | Date of the Monday of the first academic week of the year (ISO 8601). Teaching weeks start on Monday, so this is a convenient base point to start from. Note that this is always for the *current* year! |
---|
| | */ |
---|
| | $first_monday = new DateTime( "2018-12-31" ); |
---|
| | $first_monday = new DateTime(); |
---|
| | $first_monday->setISODate(date("Y"), 1); |
---|
| | |
---|
| | |
---|
| | |
---|
| | /* |
---|
| | 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: |
---|
| |
---|
|