From 3b78ecca222efd6208c266b222ff9493c121de43 Mon Sep 17 00:00:00 2001 From: Mitsunee <19474909+Mitsunee@users.noreply.github.com> Date: Sat, 23 Nov 2024 01:34:08 +0100 Subject: [PATCH] add: log details on sample time in tests --- tests/formatTime.test.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/formatTime.test.ts b/tests/formatTime.test.ts index 6bc8858..3774b8c 100644 --- a/tests/formatTime.test.ts +++ b/tests/formatTime.test.ts @@ -8,6 +8,10 @@ import { getLocalTimezone } from "./utils/getLocalTimezone"; const localTz = getLocalTimezone(); const sampleDate = new Date(`2024-11-23T00:17:32.123${localTz}`); +console.log( + `Created sample time with offset ${localTz}: ${sampleDate.toLocaleString()}` +); + // TODO: messages on all of these tests below test("basic date variables", () => {