In course websites, often dates are mentioned e.g., assignment submission dates. These websites tend to get reused over multiple offerings of the course in which case the author will have to go and update all the dates manually.
Suggestion: provide a way to specify dates relative to a specific reference date so that all dates can be updated by changing the reference date.
Example: <date ref="sem_start" week="2" day="Monday" /> will resolve to something like Monday, January 21 (sem_start is defined somewhere else, and given the date of week 1 Monday). Alternatively, it can be a predefined JS function or a nunjucks macro. e.g., {{ show_date("sem_start", 2, 1) }}
In course websites, often dates are mentioned e.g., assignment submission dates. These websites tend to get reused over multiple offerings of the course in which case the author will have to go and update all the dates manually.
Suggestion: provide a way to specify dates relative to a specific reference date so that all dates can be updated by changing the reference date.
Example:
<date ref="sem_start" week="2" day="Monday" />will resolve to something likeMonday, January 21(sem_startis defined somewhere else, and given the date of week 1 Monday). Alternatively, it can be a predefined JS function or a nunjucks macro. e.g.,{{ show_date("sem_start", 2, 1) }}