Open simonw opened 4 weeks ago
It may be time to move on from doing this all in one big scary SQL query:
A better approach may be to load in the low tides and sunrise/sunset for every day in the next 365 days and then use unit-tested Python code to apply the calculator settings.
Gave back one event that goes backwards in time from 7am to 6:30am:
This team wants to have 180 minute shifts, and bumping up to 180 minutes lead to all sorts of other weird things too.