layout | permalink | title | comment |
---|---|---|---|
page |
/cal/ |
cal |
actual calendar is autogenerated, see `_data/cal.json` |
This schedule will change as we calibrate the first few weeks of the course.
' + date_rejigger(d.date) + '
'
s += 'Topic: ' + d.topic + '
'
if(d.assigned)
s += 'Assigned: ' + assigned_str(d.assigned) + '
'
if(d.due)
s += 'Due: ' + d.due + '
'
return s;
}
function assigned_str(d) {
var s = '';
if(d.link != "")
s += '' + d.text + ''
else
s += d.text
return s;
}
function date_rejigger(d) {
var s = moment(d, "DD-MMM-YYYY")
return s.format('DD-MMM ddd');
}
</script>