From e6aaddb9eb7c443d6a6c250421bfcb1b9328a55b Mon Sep 17 00:00:00 2001 From: ElementalAlchemist Date: Thu, 14 Nov 2024 04:26:41 -0600 Subject: [PATCH] Fix time ago conversion occurring in the wrong direction --- thrimbletrimmer/src/common/convertTime.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thrimbletrimmer/src/common/convertTime.tsx b/thrimbletrimmer/src/common/convertTime.tsx index d4d749c..29a148f 100644 --- a/thrimbletrimmer/src/common/convertTime.tsx +++ b/thrimbletrimmer/src/common/convertTime.tsx @@ -77,7 +77,7 @@ export function dateTimeFromTimeAgo(timeAgo: string): DateTime | null { } const now = DateTime.utc(); - return now.plus(mathObj); + return now.minus(mathObj); } export function timeAgoFromDateTime(dateTime: DateTime): string {