From 96a7606ee255f232db5dd733160cf67268906bf5 Mon Sep 17 00:00:00 2001 From: Florian Herrengt Date: Wed, 31 Jul 2024 13:20:25 +0100 Subject: [PATCH] use 24 hours format instead of 12 --- src/events.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/events.test.ts b/src/events.test.ts index ac63ec8..6bd0044 100644 --- a/src/events.test.ts +++ b/src/events.test.ts @@ -6,10 +6,10 @@ import { clickhouseClient, knex } from "./databases"; const twoHourAgo = dateFns.format( dateFns.subHours(new Date(), 2), - "yyyy-MM-dd hh:mm:ss" + "yyyy-MM-dd HH:mm:ss" ); -const now = dateFns.format(new Date(), "yyyy-MM-dd hh:mm:ss"); +const now = dateFns.format(new Date(), "yyyy-MM-dd HH:mm:ss"); describe("Events", () => { test("clickhouse is healthy", async () => {