MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / noteTitleForDate

Function noteTitleForDate

packages/app-core/src/lib/vault-layout.ts:825–827  ·  view source on GitHub ↗
(date = new Date())

Source from the content-addressed store, hash-verified

823}
824
825export function noteTitleForDate(date = new Date()): string {
826 return `${date.getFullYear()}-${pad(date.getMonth() + 1)}-${pad(date.getDate())}`
827}
828
829export interface DailyNoteLocation {
830 title: string

Callers 4

store.tsFile · 0.90
buildDateNoteIndexesFunction · 0.85
buildDailyNoteDateByPathFunction · 0.85
findDailyNoteForDateFunction · 0.85

Calls 1

padFunction · 0.70

Tested by

no test coverage detected