eisbuk / EisBuk

Manage bookings for ice skating lessons
GNU Affero General Public License v3.0
0 stars 1 forks source link

Make duration calculation in `/attendance_printable` consistent with the rest of the app #893

Closed silviot closed 9 months ago

silviot commented 9 months ago

A slot from 14:00 to 15:30 is currently counted as a 2h slot in /attendance_printable. It is correctly counted as 1.5h in the monthly attendance view.

The /attendance_printable code should be changed so that the same logic is used there to calculate how long a time period lasts.