Skip to content

Commit

Permalink
[field] Use minimal time format for tooltips
Browse files Browse the repository at this point in the history
  • Loading branch information
mariuslundgard authored and rexxars committed Oct 6, 2020
1 parent 33bfa5f commit 074f2c6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function AnnotationItem({annotation}: {annotation: AnnotationDetails}) {
const {author, timestamp} = annotation
const color = useAnnotationColor(annotation)
const {error, value: user} = useUser(author)
const timeAgo = useTimeAgo(timestamp)
const timeAgo = useTimeAgo(timestamp, {minimal: true})

// @todo handle?
if (error) {
Expand Down

0 comments on commit 074f2c6

Please sign in to comment.