mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-02 13:02:00 +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),
|
||||
firstDay: options.getInt("firstDayOfWeek") ?? 0,
|
||||
weekends: !this.parentNote.hasAttribute("label", "calendar:hideWeekends"),
|
||||
weekNumbers: this.parentNote.hasAttribute("label", "calendar:weekNumbers"),
|
||||
locale: await CalendarView.#getLocale(),
|
||||
height: "100%"
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user