From 55a928acda193b2b023a674dd8c9445e24148f23 Mon Sep 17 00:00:00 2001 From: Karolina Kosiorowska Date: Thu, 25 Jan 2024 14:14:09 +0100 Subject: [PATCH] Simplify the value for `ONE_DAY_IN_SECONDS` Co-authored-by: Piotr Kacprzyk --- dapp/src/constants/time.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dapp/src/constants/time.ts b/dapp/src/constants/time.ts index 3c6f16ced..33bbde460 100644 --- a/dapp/src/constants/time.ts +++ b/dapp/src/constants/time.ts @@ -1,7 +1,7 @@ export const ONE_SEC_IN_MILLISECONDS = 1000 export const ONE_MINUTE_IN_SECONDS = 60 export const ONE_HOUR_IN_SECONDS = 3600 -export const ONE_DAY_IN_SECONDS = 86400 +export const ONE_DAY_IN_SECONDS = ONE_HOUR_IN_SECONDS * 24 export const ONE_WEEK_IN_SECONDS = ONE_DAY_IN_SECONDS * 7 export const ONE_MONTH_IN_SECONDS = ONE_DAY_IN_SECONDS * 30 export const ONE_YEAR_IN_SECONDS = ONE_DAY_IN_SECONDS * 365