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

MS1.5 Fix an issue where the site is wrong #51

Merged
merged 6 commits into from
Feb 28, 2021
Merged

Conversation

Gum-Joe
Copy link
Owner

@Gum-Joe Gum-Joe commented Feb 28, 2021

Fix #50 to ensure the site works.
Issue was that we told the site to go forward 1 week on Sundays and Saturdays, which resulted in it skipping a week forward. This is because the algorithm works by rewinding to the last Sunday and going from there, so on Sundays it obviously stays on the current Sunday, and it was programmed to jump forward 7 days on Sundays

@Gum-Joe Gum-Joe added the bug Something isn't working label Feb 28, 2021
@Gum-Joe Gum-Joe requested a review from ILikeTeaALot February 28, 2021 12:29
@Gum-Joe Gum-Joe added this to the Service Pack 1 (MS1.5) milestone Feb 28, 2021
@Gum-Joe Gum-Joe enabled auto-merge (squash) February 28, 2021 12:36
@Gum-Joe Gum-Joe merged commit adb8b01 into main Feb 28, 2021
@Gum-Joe Gum-Joe deleted the MS1.5-Fix-Site-Dates branch February 28, 2021 12:53
Gum-Joe added a commit that referenced this pull request Mar 2, 2021
Fix #50 to ensure the site works:
Issue was that we told the site to go forward 1 week on Sundays and Saturdays, which resulted in it skipping a week forward. This is because the algorithm works by rewinding to the last Sunday and going from there, so on Sundays it obviously stays on the current Sunday, and it was programmed to jump forward 7 days on Sundays

Also adds a alert on Lateral Flow Testing & version bump

Commits:
* Change alert

* Setup separate KECHG and KECHB alerts

* Fixed an issue where date was wrong #50
Added alerts to holiday page

* Bump version number

* Remove date fiddling
Gum-Joe added a commit that referenced this pull request Mar 2, 2021
* Add new build script

Co-authored-by: David Wheatley <hi@davwheat.dev>

* Reduce colours on homepage (#43)

Reduce the number of colours on the homepage, by:

- Changing social to minimal icons with no coloured BG (only have a white outline now)
- Modify some colours for alerts

* Iteration 1: socials

* Change hover for socials

* Bump version number

* Add code docs

* Slightly darken green

* Adjust blue used for INFO

* MS1.5 Fix an issue where the site is wrong (#51)

Fix #50 to ensure the site works:
Issue was that we told the site to go forward 1 week on Sundays and Saturdays, which resulted in it skipping a week forward. This is because the algorithm works by rewinding to the last Sunday and going from there, so on Sundays it obviously stays on the current Sunday, and it was programmed to jump forward 7 days on Sundays

Also adds a alert on Lateral Flow Testing & version bump

Commits:
* Change alert

* Setup separate KECHG and KECHB alerts

* Fixed an issue where date was wrong #50
Added alerts to holiday page

* Bump version number

* Remove date fiddling

* Testing

* Add env vars

* Correct build path

* Readd branch protector
Remove 6th form quiz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Site wrong
2 participants