Closed caleywoods closed 5 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 94.17%. Comparing base (
bae914e
) to head (796a23a
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description
This attempts to resolve #1642
Additional information
Include any of the following (as necessary):
For a project view (/projects/{pk_id}), we were previously formatting the total hours in the data table using
:.0f
, I've updated that to format using:.2f
instead. This seems to correctly stop truncating hours and the test suite passes.The original ticket also mentions
DataTable.applymap()
being deprecated and replaced byDataTable.map()
. I found thatDataTable.map()
was already being used in the utilization/analytics.py file but the terminal complained aboutDataTable.applymap()
in utilization/views.py on line 187, I've replacedDataTable.applymap()
withDataTable.map()
and that didn't seem to upset anything.