From d408581a13ad78d5a871d98f3ff0ff9bb5e45ae5 Mon Sep 17 00:00:00 2001 From: Stephen Zhou <38493346+hyoban@users.noreply.github.com> Date: Mon, 28 Oct 2024 12:19:34 +0800 Subject: [PATCH] fix: initializeDayjs in server close #1198 --- apps/server/client/initialize/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/server/client/initialize/index.ts b/apps/server/client/initialize/index.ts index 71a8b9103..618414eb9 100644 --- a/apps/server/client/initialize/index.ts +++ b/apps/server/client/initialize/index.ts @@ -1,4 +1,5 @@ import { initI18n } from "@client/i18n" +import { initializeDayjs } from "@follow/components/dayjs" import { env } from "@follow/shared/env" import { authConfigManager } from "@hono/auth-js/react" @@ -12,6 +13,7 @@ export const initialize = () => { credentials: "include", }) + initializeDayjs() initI18n() initAnalytics() initSentry()