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

Make deadline extensions consider daylight savings time #1346

Merged
merged 2 commits into from
Apr 9, 2024

Conversation

ihalaij1
Copy link
Contributor

@ihalaij1 ihalaij1 commented Mar 8, 2024

Description

What?

For example, if a teacher gives a 7-day extension to a Wed 6pm deadline from late October to early November, the student will be able to submit until Wed 6pm the following week instead of 5pm, like previously.

Testing

Tested that the deviations work as expected using a docker image ihalaij1/run-aplus-front:faketime that allows changing of the internal time.

docker-compose.yml:

plus:
  image: ihalaij1/run-aplus-front:faketime
  environment:
    FAKETIME: "@2023-10-29 03:55:00"

Fixes #1287

For example, if a teacher gives a 7-day extension to a Wed 6pm deadline
from late October to early November, the student will be able to submit
until Wed 6pm the following week instead of 5pm, like previously.

Fixes apluslms#1287
@murhum1 murhum1 merged commit 20e3b78 into apluslms:master Apr 9, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Deadline extensions misbehave if they cross daylight savings time start/end
2 participants