Navigation Menu

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

Add ability to "fix" future dates via Manage #18

Open
tillson opened this issue Aug 3, 2017 · 0 comments
Open

Add ability to "fix" future dates via Manage #18

tillson opened this issue Aug 3, 2017 · 0 comments

Comments

@tillson
Copy link
Contributor

tillson commented Aug 3, 2017

From the README:

"The app figures out what week it currently is (A/B) from the portergaud.edu calendar. Using a cron task set to run daily, it pulls the official list of events for the day and searches for a reference to the current week (i.e. the string 'A Week' or 'Week A' for A weeks). If unable to find this (due to administrator error), the app defaults to an A week. For future dates, the app uses whether the week is even or odd (which is an A week/B week is set in the code) in an attempt to "guess" the week. In the future, this is something that can be improved as extended breaks (i.e. Spring Break) "throws off" the algorithm and requires manual intervention."

Some way to try to "fix" this when it happens, using a field in the PostgreSQL database would greatly improve future dates and would require less code intervention.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant