File tree 1 file changed +6
-2
lines changed
components/dashboard/src/teams
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ import {
16
16
} from "@gitpod/gitpod-protocol/lib/usage" ;
17
17
import { AttributionId } from "@gitpod/gitpod-protocol/lib/attribution" ;
18
18
import { Item , ItemField , ItemsList } from "../components/ItemsList" ;
19
+ import moment from "moment" ;
19
20
import Pagination from "../Pagination/Pagination" ;
20
21
import Header from "../components/Header" ;
21
22
import { ErrorCodes } from "@gitpod/gitpod-protocol/lib/messaging/error" ;
@@ -259,8 +260,11 @@ function TeamUsage() {
259
260
< span className = "text-gray-700" > { usage . credits . toFixed ( 1 ) } </ span >
260
261
</ div >
261
262
< div className = "my-auto" >
262
- < span className = "text-gray-400" >
263
- { displayTime ( usage . startTime ) }
263
+ < span
264
+ className = "text-gray-400"
265
+ title = { displayTime ( usage . startTime ) }
266
+ >
267
+ { moment ( usage . startTime ) . fromNow ( ) }
264
268
</ span >
265
269
</ div >
266
270
</ div >
You can’t perform that action at this time.
0 commit comments