More information for timestamp
Closed this issue · 2 comments
felskia commented
I don't think it does this now but for the timestamp, especially on the homepage it would be great if they had a bit more information. For example, instead of 18:48:35 08/24/17 if the incoming errors or the incoming granules had 15 seconds ago, or 5 seconds ago...
Disregard, obviously if the system already does this :)
dereklieu commented
There's a fromNow
function in utils/format.js
that does just this. To change the formatting from the current style, just require that function and sub it out for the fullDate
function here.
dereklieu commented
Timestamps are now all using the 5 seconds ago format.