mozilla / missioncontrol

Real-time monitoring of Firefox release health
Mozilla Public License 2.0
21 stars 18 forks source link

Display time in relative units in measure summary #146

Closed wlach closed 7 years ago

wlach commented 7 years ago

Currently "last updated" is presented in terms of the users local time:

screen shot 2017-10-12 at 3 28 22 pm

It would probably make more sense to use relative time (e.g. "5 minutes ago"). We should be able to use momentjs's relative time for this:

http://momentjs.com/

Should just be a simple change in this file: https://github.com/mozilla/missioncontrol/blob/4b00e594211cdef0d3f0637386331bd49a1a57ed/frontend/ui/subview.jsx#L98