On-call schedule - too much data requested in the daily view

The on-call schedule timeline has two display modes - "1 day" and "2 weeks".

Screenshot_2021-04-09_at_17.03.07

Currently, it requests two weeks of shifts for both modes. This is excessive for the 1 day mode, and will cause additional load on the server.

We should correct this so that only a single day worth of shifts is requested when in the 1 day view.

Edited by Tristan Read