使用模板新建记录时,`data`不是选定的日期

使用模板新建记录时,data日不是选定的日期,而是当前日期。是否可以支持一个按选中日期插入的变量。

(deepl) When creating a new record using a template, the “data” field does not display the selected date, but rather the current date. Could you add a variable that inserts the selected date?

Thanks for the suggestion. You are right, \date always gives the date when the note is created, not the selected date. There is no placeholder for the selected date at the moment.

But you can make the note on the day you want. In the calendar in the right panel, click (or tap) the header of that day, and choose New Note from Template…. The note is then assigned to that day. If the template keeps the default title, the note also gets that day’s date as its title.

If the note is for a calendar event, create it from the event instead. Then \event-date fills in the date of the event.

A placeholder for the selected date is a nice idea. We’ll take it along.