From 241e0e003742f1934647d0886f4292bb3566d898 Mon Sep 17 00:00:00 2001 From: Bernt Christian Egeland Date: Sat, 1 Jul 2023 15:05:12 +0200 Subject: [PATCH] Update web/src/components/TimeAgo.tsx Co-authored-by: Blake Blackshear --- web/src/components/TimeAgo.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/components/TimeAgo.tsx b/web/src/components/TimeAgo.tsx index c664fcf51..b7ed45007 100644 --- a/web/src/components/TimeAgo.tsx +++ b/web/src/components/TimeAgo.tsx @@ -25,7 +25,7 @@ const timeAgo = ({ time, currentTime = new Date(), dense = false }: IProp): stri const elapsedTime: number = currentTime.getTime() - pastTime.getTime(); const timeUnits: TimeUnit[] = [ - { unit: 'ye', full: 'year', value: 31536000 }, + { unit: 'yr', full: 'year', value: 31536000 }, { unit: 'mo', full: 'month', value: 0 }, { unit: 'd', full: 'day', value: 86400 }, { unit: 'h', full: 'hour', value: 3600 },