-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Allow instructors to use start/end dates up to 12 months in future #12494
Comments
@wkurniawan07 any cost (or other) downsides if we allow 9 or 12 months for start/end dates? |
Not really. In essence the only reason for the limit is abuse prevention, so as long as the limit is sensible it can always be changed. |
Thanks for the confirmation @wkurniawan07 Let's set it to 12 months then, as 9 feels a bit random. |
Hello! May I work on this issue? Edit: I have submitted a PR |
Thanks for taking this up @Zxun2 |
Is the issue still open? |
@sawilkhan Thank you for your interest! Unfortunately, it is being worked on by someone else. Please look for another issue 👍🏻 |
…future (#12498) * feat: add safety net for invalid dates * feat: update start/end dates from 3 to 12 months * perf: reduce side effects * fix: update error message * feat: add safety net for time * feat: testcase for `getInstantMonthsOffsetFromNow` * fix: failing component tests * refactor(sessions-edit-form): abstract model to base class * fix: linting * fix: inaccurate end time when start date > end date * misc: update javadocs * misc: change twelve to 12 * fix: update missing attribute * fix: add missing edge case * fix: add missing edge case when startDate > endDate and hours are equal --------- Co-authored-by: Dominic Lim <[email protected]> Co-authored-by: Wei Qing <[email protected]>
Current: Instructors cannot choose start/end dates further than 3 months into the future
Suggested: Increase this limit to either 9 or 12 months
Reason: Some instructors set up their courses in advance (e.g., some will set up their fall courses during summer)
Requested by a user.
The text was updated successfully, but these errors were encountered: