YaleSTC / shifts

Application to easily track shifts, reports, and payforms for employees.
MIT License
23 stars 18 forks source link

Wrong TimeSlot rendering in Shifts view #382

Open njlxyaoxinwei opened 10 years ago

njlxyaoxinwei commented 10 years ago

Right now the TimeSlots are sometimes incorrectly rendered in Shifts view if it continues to midnight (e.g. It gets rendered to another day)

This has to do with the :on_day scope in TimeSlot model.

njlxyaoxinwei commented 10 years ago

The problem is quite complex and for now the STC has their timeslots end-time set to 11:45pm to avoid the issue