feat(calendar): add now indicator

This commit is contained in:
Elian Doran 2025-03-16 20:40:14 +02:00
parent 2b24673019
commit 4d55374784
No known key found for this signature in database

View File

@ -127,6 +127,7 @@ export default class CalendarView extends ViewMode {
weekNumbers: this.parentNote.hasAttribute("label", "calendar:weekNumbers"),
locale: await CalendarView.#getLocale(),
height: "100%",
nowIndicator: true,
eventContent: (e) => {
let html = "";
const { iconClass, promotedAttributes } = e.event.extendedProps;