Skip to content
Will edited this page Dec 19, 2013 · 1 revision

Shift Times

=============

I am struggling a bit with how to represent shift times. Initially it was a start time and a duration, but I switched it to an end time to make database queries easier. In the current code it's only referenced once and that could be switched to start.

Much of the display code assumes shifts are an hour long. The first server shift is 10:30-12. There is an 11-12 drink dispenser, so the half hour needs to be displayed somehow. It's just such a pain.

Clone this wiki locally