Fix dayjs issue on frontend (#4881)

This commit is contained in:
Louis Lam
2024-06-25 18:08:02 +08:00
committed by GitHub
parent a81f949f98
commit 1185b259c2
3 changed files with 16 additions and 12 deletions

View File

@@ -6,7 +6,7 @@
// Backend uses the compiled file util.js
// Frontend uses util.ts
import * as dayjs from "dayjs";
import dayjs from "dayjs";
import * as timezone from "dayjs/plugin/timezone";
import * as utc from "dayjs/plugin/utc";