fantasycalendar / obsidian-fantasy-calendar

MIT License
175 stars 7 forks source link

Multiple calendars via frontmatter not working #116

Open ponderingponderpond opened 1 year ago

ponderingponderpond commented 1 year ago

I run several campaigns, all in the same world. While each is on their individual date, historical events are shared between all calendars there.

For this I am trying to use the frontmatter markup to push Historical Events (same date for all) to all three calendars. I cannot seem to get it to work. I've copied the code exactly as it is outlined in the readme, but it's not going to the calendars. It works fine with single calendar events via frontmatter.

Here's what my attempt looks like (using Gregorian Calendar, simply pushed way into the future):

---
# Write to all calendars
fc-calendar: 
  - First Campaign (1)
  - Second Campaign (2)
  - Campaign (3)
# Same date for both calendars.
fc-date: 
 year: 10378
 month: 11
 day: 1
fc-category: Historical Events
---

I've tried variations of the fc-date for example fc-date: 10378-11-1 or 01 at the end to no avail.

Not sure if this is a bug. Is it only possible to push to two calendars at a time? If so, could this be amended?

Thanks for the great work you're doing here. This function would simply be the icing on the cake for me.

valentine195 commented 1 year ago

I’m sorry but I removed support for multiple calendars via frontmatter due to a hard to maintain syntax.

However, I will be bringing it back thanks to a new event management service, I just need to do a bit more to get it fully integrated.

ponderingponderpond commented 1 year ago

Gotcha! thanks for the input. Great to hear.

Should we leave this open until it's implemented again? Just in case others stumble over it like I did :)

valentine195 commented 1 year ago

Sure