|
|
|
|
@ -4,8 +4,8 @@ import ViewMode, { type ViewModeArgs } from "./view_mode.js";
|
|
|
|
|
import type FNote from "../../entities/fnote.js";
|
|
|
|
|
import server from "../../services/server.js";
|
|
|
|
|
import ws from "../../services/ws.js";
|
|
|
|
|
import type { EventDragStopArg, EventResizeDoneArg } from "@fullcalendar/interaction";
|
|
|
|
|
import { t } from "../../services/i18n.js";
|
|
|
|
|
import options from "../../services/options.js";
|
|
|
|
|
|
|
|
|
|
const TPL = `
|
|
|
|
|
<div class="calendar-view">
|
|
|
|
|
@ -83,7 +83,8 @@ export default class CalendarView extends ViewMode {
|
|
|
|
|
week: t("calendar_view.week"),
|
|
|
|
|
day: t("calendar_view.day"),
|
|
|
|
|
list: t("calendar_view.list")
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
firstDay: options.getInt("firstDayOfWeek") ?? 0
|
|
|
|
|
});
|
|
|
|
|
calendar.render();
|
|
|
|
|
|
|
|
|
|
|