mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 03:16:11 +01:00
added date services to ETAPI
This commit is contained in:
@@ -49,7 +49,7 @@ function getRootCalendarNote() {
|
||||
}
|
||||
|
||||
/** @returns {Note} */
|
||||
function getYearNote(dateStr, rootNote) {
|
||||
function getYearNote(dateStr, rootNote = null) {
|
||||
if (!rootNote) {
|
||||
rootNote = getRootCalendarNote();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user