Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to determine the offset (date or week) of a course? #11

Closed
dzhuang opened this issue Apr 16, 2015 · 1 comment
Closed

How to determine the offset (date or week) of a course? #11

dzhuang opened this issue Apr 16, 2015 · 1 comment

Comments

@dzhuang
Copy link
Contributor

dzhuang commented Apr 16, 2015

If I am not wrong, using if_before: end_week N is easy to run a course by adding further modifiers without manual adjust the date/time rule in ISO-formatted dates/time format. So, if the offset (starting date/time) of the course is set, then other time is determined. However, I can't find in documentations about the setting the offset variable in course.yaml.

@inducer
Copy link
Owner

inducer commented Apr 16, 2015

"Events" are what makes this possible:
http://documen.tician.de/relate/content.html#calendar-and-events

They're stored in the database (rather than the YML course material), and so they can change from one edition of the course to the next while leaving the course material the same.

If you want what you suggest (which is to have everything offset from the start date of the course), you would create one event, say start_of_course, and then express all dates as, say start_of_course + 3 weeks or start_of_course + 3 weeks + 1 day @14:50. But you're also free to have as many events as you like, and fix those to more natural anchor points (that may shift from one run of the class to the next), such as lecture_on_foo. To give you an idea, I mainly use events for homework_due and lecture 12 as anchor points.

@inducer inducer closed this as completed Apr 16, 2015
inducer added a commit that referenced this issue Jun 24, 2020
Resolve "Job Failed #123649"

Closes #11

See merge request inducer/relate!85
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants