Closed Bug 857182 Opened 11 years ago Closed 11 years ago

[FHR] "time open" metric calculates as if millis but the data is actually seconds.

Categories

(Firefox Health Report Graveyard :: Web: Health Report, defect)

defect
Not set
blocker

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: dre, Unassigned)

References

Details

(Whiteboard: [qa-])

FHR shows my current time open as 4 minutes.  It is actually 75 hours.

The docs page shows that totalTime is measured in seconds, not millis.
https://docs.services.mozilla.com/healthreport/index.html#org-mozilla-appsessions-current

So the return of calculateTotalTime should not divide by 1000.  https://github.com/mozilla/fhr-jelly/blob/master/js/data.js#L75
Fixed in https://github.com/mozilla/fhr-jelly/pull/41
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [qa-]
I verified this fix.  The "open time" metric on the page is now accurately calculated.
Status: RESOLVED → VERIFIED
Component: General → about:healthreport
Product: Webtools → Firefox Health Report
Product: Firefox Health Report → Firefox Health Report Graveyard
You need to log in before you can comment on or make changes to this bug.