# Changelog — 2026-03-28 — 09 ## Phase 1: Daily Note Manager ### Added - `src/calendar/daily-notes.ts` — Core daily note module with all Phase 1 functions: - `getDailyNotePath` — computes `{rootFolder}/{YYYY}/{MM}/{DD}/{YYYY-MM-DD}.md` - `getDailyNote` — vault lookup by computed path - `createDailyNote` — creates folders and file, supports template with `{{date}}` replacement - `openDailyNote` — get-or-create then open in workspace leaf - `indexDailyNotes` — recursively scans root folder, returns `Map<"YYYY-MM-DD", TFile>` - `getDateFromDailyNote` — reverse lookup: extracts date from TFile path - `src/global.d.ts` — Global type declaration for `window.moment` (Obsidian provides moment at runtime but does not export types for it)