mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-03 05:57:47 +08:00
feat(views/calendar): add option to show week numbers
This commit is contained in:
parent
42d46bdb72
commit
fe5182ebc6
@ -103,6 +103,7 @@ export default class CalendarView extends ViewMode {
|
|||||||
eventChange: (e) => this.#onEventMoved(e),
|
eventChange: (e) => this.#onEventMoved(e),
|
||||||
firstDay: options.getInt("firstDayOfWeek") ?? 0,
|
firstDay: options.getInt("firstDayOfWeek") ?? 0,
|
||||||
weekends: !this.parentNote.hasAttribute("label", "calendar:hideWeekends"),
|
weekends: !this.parentNote.hasAttribute("label", "calendar:hideWeekends"),
|
||||||
|
weekNumbers: this.parentNote.hasAttribute("label", "calendar:weekNumbers"),
|
||||||
locale: await CalendarView.#getLocale(),
|
locale: await CalendarView.#getLocale(),
|
||||||
height: "100%"
|
height: "100%"
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user