From 82735ea3cbfff6d7ef92859c420e95fb2a36ec0a Mon Sep 17 00:00:00 2001 From: undefined Date: Sun, 8 Jun 2025 20:16:10 +0800 Subject: [PATCH] core: add direct moment-timezone import --- packages/hydrooj/src/plugin-api.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/hydrooj/src/plugin-api.ts b/packages/hydrooj/src/plugin-api.ts index 04fb0e604..3cc4ea6a6 100644 --- a/packages/hydrooj/src/plugin-api.ts +++ b/packages/hydrooj/src/plugin-api.ts @@ -2,6 +2,7 @@ import pwsh from './lib/hash.hydro'; import db from './service/db'; export { nanoid } from 'nanoid'; +export { default as moment, isMoment } from 'moment-timezone'; export { WebService, Router, HandlerCommon, httpServer,