From 5143d15f68fa9f47ea41c54d26956306edb10188 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 {