From 6b9851470d3a61c30926b329388f7a5379dc86e5 Mon Sep 17 00:00:00 2001 From: Amaury <1293565+amaury1729@users.noreply.github.com> Date: Tue, 12 Dec 2023 17:35:37 +0100 Subject: [PATCH] fix: Fix 30min typo --- src/util/helpers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/helpers.ts b/src/util/helpers.ts index 6976adcc..072b6e8f 100644 --- a/src/util/helpers.ts +++ b/src/util/helpers.ts @@ -79,7 +79,7 @@ export function convertAxiosError(err: AxiosError): Error { } export const toDateTime = (secs: number): Date => { - const t = new Date("1970-01-01T00:30:00Z"); // Unix epoch start. + const t = new Date("1970-01-01T00:00:00Z"); // Unix epoch start. t.setSeconds(secs); return t;