MCPcopy Index your code
hub / github.com/callumalpass/tasknotes / navigateToCurrentDailyNote

Method navigateToCurrentDailyNote

src/main.ts:987–992  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

985 }
986
987 async navigateToCurrentDailyNote() {
988 // Fix for issue #1223: Use getTodayLocal() to get the correct local calendar date
989 // instead of new Date() which would be incorrectly converted by convertUTCToLocalCalendarDate()
990 const date = getTodayLocal();
991 await this.navigateToDailyNote(date, { isAlreadyLocal: true });
992 }
993
994 async navigateToDailyNote(date: Date, options?: { isAlreadyLocal?: boolean }) {
995 try {

Callers 1

Calls 2

navigateToDailyNoteMethod · 0.95
getTodayLocalFunction · 0.90

Tested by

no test coverage detected