sawhney17 / logseq-calendars-plugin

MIT License
127 stars 17 forks source link

Template - placeholder variable gets only replaced once if used several times in a template #56

Open Marc-Al-C opened 3 months ago

Marc-Al-C commented 3 months ago

When I use the placeholder variable {Date} several time into the template setting, it only gets replaced by the actual date once.

For instance, when I set the template setting like this :

An event : {Date} - {Start} / {Date} - {End}

For an event where

It gets replaced by :

An event 2024-03-26 - 11:00 / {Date} 12:30

Right now I'm using this template to create tasks from imported plugins :

LATER An event \nSCHEDULED: <{Date} d {Start}>

But I would have like to use this one :

LATER An event \nDEADLINE: <{Date} d {End}>\nSCHEDULED: <{Date} d {Start}>