javalent / calendarium

The ultimate Obsidian plugin for crafting mind-bending fantasy and sci-fi calendars
MIT License
83 stars 11 forks source link

🐞Events with a duration get cut off by the end of a month #138

Open Rose7002 opened 4 months ago

Rose7002 commented 4 months ago

Check for existing bug reports before submitting.

Expected Behavior

When setting an event with a duration, it should appear in the list of events for any given day in between the start and end dates.

Current behaviour

The event stops appearing for any day after the current month ends. image

Reproduction

  1. Launch Obsidian Sandbox Vault via help menu
  2. In settings, enable plugins and install Calendarium.
  3. Enable Calendarium in settings, then create a Gregorian Calendar using the Quick setting and choosing the Gregorian Calendar preset. Set current date to 14/7/2024
  4. Create a new note, titled "Test Note". Add the property fc-category: Historical Events.
  5. Add the properties fc-date: 14-07-2024 and fc-end: 14-08-2024.
  6. Force the sandbox to reload via the View menu.
  7. Check to see if there are any events on 1/8/2024 or afterwards.

Which Operating Systems are you using?

Obsidian Version Check

1.6.5

Plugin Version

1.3.3

Confirmation

Possible solution

No response

Tarnyd commented 3 months ago

I am having the same problem. I could not for the life of me figure out what I was doing wrong. But it seems it might not have been me after all.

My calendar is a custom one with 28 days each month. 4 weeks each month.

Trying to add an event fc-date: 2970-08-14 fc-end: 2970-09-14

OS Windows

Obsidian Version 1.6.7

Plugin version 1.3.3