sb2g14 / soton_3D_print

3 stars 0 forks source link

Days on Loan shows as 0 days for all printers #121

Closed GHLasse closed 6 years ago

GHLasse commented 6 years ago

There seems to be an error calculating the number of days a printer has been on loan. It always shows up as 0 days in the pie chart even if the printer has been on loan several times.

sb2g14 commented 6 years ago

The problem is that the system calculates the time of prints done on loan rather than printer been on loan. That's why sometimes it is less than 1 day if the prints are short even though the printer has been on loan for several days