One year ago plugin

I know it s a super basic question (and i ve tried to find a solution by my own by reading Search - Obsidian Help)

/query path:Planner file: 2022-12-07 summary /

(Being planner my daily file folder, and 2022-12-07 the name of the daily file, and summary the word i m searching)

This does work and so does if i change
file: 2022-12-07

when i use the
file:“{{date:-MM-DD}}”

it does decode the date thing

any ideas why?

Thanks

edit: added a picture, fixed the text