How to create a command with property and today date?

Hello! I’m trying to create a weekly overview of completed tasks and since we cannot get time when tasks was checked I think using command instead might work.
So I started trying doing a command which appends on next line - completed:: <% today %>, but turned out it’s not trivial.
My best try so far, but with no luck:

 :commands
 [
 	["completed" [
 			[:editor/input "completed:: "]
 			[:editor/input :today]
 		]
 	]
 ]

Maybe someone can propose solution? I tried pasting macros instead, but macros is not recognised as property.

1 Like

Never mind. I made a plug-in GitHub - DimitryDushkin/logseq-plugin-task-check-date

2 Likes