fantasycalendar / obsidian-fantasy-calendar

MIT License
175 stars 7 forks source link

FC + Timelines: support a month name in timeline spans #97

Closed ebullient closed 1 year ago

ebullient commented 1 year ago

Enhance Timelines div/span syntax with some fc options, like specifying the month by name (rather than by number) to avoid confusion between human numbering and computer array indexing.

For the first pass, don't break the ability of Timelines to read the data. So, if the fc-month attribute is present, prefer that to the month parsed from the Timelines date: yyyy-mm-dd-hh.

If the month is "special" (intercalary fun), reset the day (dd) to match what FC expects for that calendar month.