( date = new Date(), settings: VaultSettings | null | undefined )
| 849 | } |
| 850 | |
| 851 | export function weeklyNoteLocationForDate( |
| 852 | date = new Date(), |
| 853 | settings: VaultSettings | null | undefined |
| 854 | ): WeeklyNoteLocation { |
| 855 | const normalized = normalizeVaultSettings(settings) |
| 856 | return weeklyNoteLocationForPattern(date, normalized, currentWeeklyNotePattern(normalized)) |
| 857 | } |
| 858 | |
| 859 | export interface DateNoteInfo { |
| 860 | kind: 'daily' | 'weekly' |
no test coverage detected