remove dayjs import from bookmarks model

This commit is contained in:
Red Adaya 2024-02-08 08:41:22 +08:00
parent b62977470b
commit 23b3250f18

View File

@ -6,17 +6,11 @@ import { sprintf } from "sprintf-js";
import { boundMethod } from "autobind-decorator";
import { genMergeSimpleData } from "../util/util";
import { BookmarkType } from "../types/types";
import dayjs from "dayjs";
import localizedFormat from "dayjs/plugin/localizedFormat";
import customParseFormat from "dayjs/plugin/customParseFormat";
import { checkKeyPressed, adaptFromReactOrNativeKeyEvent } from "../util/keyutil";
import { OV, OArr } from "../types/types";
import { CommandRunner } from "./commandrunner";
import { Model } from "./model";
dayjs.extend(customParseFormat);
dayjs.extend(localizedFormat);
class BookmarksModel {
globalCommandRunner: CommandRunner;
globalModel: Model;