Syntax help for a Suggester for VDATE (with Natrual Language Date) input in Quick Add capture format #690
Unanswered
guycalledxan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What I’m trying to do
I use Quick Add’s capture format to create tasks. I’m trying to get an optional Reminder date added to a task that, when chosen, will use a Suggester to populate the date. I can do the former, be not the latter.
Basically, I got annoyed with having to type “Tomorrow” or “Next Week” and figured I could click on suggester options instead.
I’ve experimented with a few things but can’t crack it.
Here’s the full Capture format:
#{{FIELD:tags}} :pencil2:{{selected}}{{VALUE:, <% tp.system.clipboard()%>}} {{VALUE:Task Description}} _-{{VALUE:, Reminder: (@{{VDATE:Reminder-Date, [[YYYY-MM-DD]] HH:mm}})}} :heavy_plus_sign: [[{{Date}}]] {{VALUE::stop_button:, , :small_red_triangle:, :arrow_double_up:, :arrow_up_small:, :arrow_down_small:, :arrow_double_down:}}
Things I have tried
As above, the closest I can get so far is:
{{VALUE:, Reminder: (@{{VDATE:Reminder-Date, [[YYYY-MM-DD]] HH:mm}})}}
That gives me an optional Reminder date Reminder: (@ token and if I select the blank option I don’t get any other text there, which is good.
In this one, the VDATE resolves as Reminder: (@{{VDATE:monday)}}:
{{VALUE:, Reminder: (@{{VDATE:{{FIELD:reminder_time_options}}, [[YYYY-MM-DD]] HH:mm}})}} :heavy_plus_sign: [[{{Date}}]] {{VALUE::stop_button:, , :small_red_triangle:, :arrow_double_up:, :arrow_up_small:, :arrow_down_small:, :arrow_double_down:}}
Any use of commas in VDATE causes it to behave like a dropdown but won’t resolve as a date:
{{VALUE:, Reminder: (@{{VDATE:{{VALUE:monday, tomorrow}}, [[YYYY-MM-DD]] HH:mm}})}}
{{VALUE:, Reminder: (@{{VDATE:monday, tomorrow, [[YYYY-MM-DD]] HH:mm}})}}
(This is a dupe of a post on the Obsidian forums. That got no reply so I thought I'd try here. Hope that's OK)
Beta Was this translation helpful? Give feedback.
All reactions