(value: string | null | undefined)
| 100 | } |
| 101 | |
| 102 | export function normalizeDailyNoteLocale(value: string | null | undefined): string { |
| 103 | const trimmed = (value ?? '').trim() |
| 104 | return trimmed || DEFAULT_DAILY_NOTE_LOCALE |
| 105 | } |
| 106 | |
| 107 | export function normalizeWeeklyNoteTitlePattern(value: string | null | undefined): string { |
| 108 | const trimmed = (value ?? '').trim().replace(/[\\/]+/g, '-') |
no outgoing calls
no test coverage detected