( date = new Date(), settings: VaultSettings | null | undefined )
| 832 | } |
| 833 | |
| 834 | export function dailyNoteLocationForDate( |
| 835 | date = new Date(), |
| 836 | settings: VaultSettings | null | undefined |
| 837 | ): DailyNoteLocation { |
| 838 | const normalized = normalizeVaultSettings(settings) |
| 839 | return dailyNoteLocationForPattern(date, normalized, currentDailyNotePattern(normalized)) |
| 840 | } |
| 841 | |
| 842 | export function weeklyNoteTitle(date = new Date()): string { |
| 843 | return `${getISOWeekYear(date)}-W${pad(getISOWeek(date))}` |
no test coverage detected