I am exploring the use of Fantasy Calendar as a way of keeping events in Obsidian. FC uses the following metadata:
fc-calendar - to identify which calendar the event appears in
fc-date - the starting date of the event
fc-end - thed end date of the event
I’m trying to use dataviewjs to create a list or a table that will show upcoming events. But no matter what I try, the metadata with a ‘hyphen’ seems to not be accessible.
dv.table(["Event","Date","Project"], dv.pages('"Notes"') .where(t=>t.type == "event") .map(t=>[t.file.link,t.fc-date,t.project]) )
Evaluation Error: ReferenceError: date is not defined
Is there a way to use YAML metadata that includes a hyphen?