()
| 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 { |
no test coverage detected