mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-02 21:11:57 +00:00
* Refactors mothweek check (#68280) * Refactors mothweek check Mothweek HAS SIDE EFFECTS Checking it on a day that causes a week offset will currently cause that week offset to persist That's dumb. Also it's not very expansive, only covers a slim set of possibilities. Instead, lets build something to generate all passing days over a period of time, maybe 3 months out of 2 years. Then we'll crosscheck that against some predecided "ok" dates If either list disagrees with each other, we'll fail. That way we can't miss an edgecase. or have issues with side effects I like this pattern. * Refactors mothweek check Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
4.6 KiB
4.6 KiB