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

Fix submission on last day of grace period and close cohort 6 #1178

Open
wants to merge 9 commits into
base: live
Choose a base branch
from

Conversation

mbarton
Copy link
Member

@mbarton mbarton commented Jan 17, 2025

Fixes #1172

Undo the hot fixes we did to quickly unblock submission on the last day of the grace period (#1163, #1164, #1165) and the underlying bugs:

  • days_remaining_before_submission should be inclusive of the last day of the grace period
  • submitting_cohort was a number so we couldn't get cohort_start_date from it, we needed submitting_cohort_start_date

This will have the effect of closing out cohort 6 so will only merge after our extended deadline (Sunday 19th Jan).

Also removes the "0 days remaining" for cohort 6 on the homepage.

Finally as a side effect also fixes #1176

@mbarton mbarton marked this pull request as ready for review January 17, 2025 14:43
@mbarton mbarton changed the title Fix submission on last day of grace period Fix submission on last day of grace period and close cohort 6 Jan 17, 2025
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

Successfully merging this pull request may close these issues.

Invisible error for first paediatric assessment date before cohort 5 Close cohort 6
1 participant