Skip to content

Inline Events don't use Calendar defined Date Format #240

@sellio5263

Description

@sellio5263

Check for existing bug reports before submitting.

  • I searched for existing Bug Reports and found no similar reports.

Expected Behavior

When I create an inline event for my Calendar that has a modified Display Date Format (for example: D-MMM-YYYY). I would expect that the event is parsed for with that date format and found; and that other date formats would not work.

Current behaviour

When I create an inline event for my Calendar that has a modified Display Date Format (for example: D-MMM-Y). What actually happens is that parsing for inline events is done with a locked expectation of the date to be in some format matching this pattern: (Y-M[MMM]-D[D]). Other formats (including my altered format) are not found.

Reproduction

  1. Launch Obsidian Sandbox Vault
  2. Install and Enable the Calendarium Plugin
  3. Open the Calendarium Settings
  4. Quick create Gregorian Calendar from preset
  5. Change "Display Date Format" to D-MMM-Y in the Gregorian Calendar Settings
  6. Turn on the "Support inline events" option in the Gregorian Calendar Settings
  7. Exit the Gregorian Calendar Settings Menu
  8. Turn on the "Enable event parsing" option in the "Events parsing" section of the Calendarium Settings
  9. Exit the Calendarium Settings
  10. Open Calendarium in sidebar
  11. Open New Note entitled "Test Note" in editing window
  12. Add the following text to the note:
---
tags:
  - inline-events
---

<span data-calendar="Gregorian Calendar" data-date="16-Mar-2026" data-name="AlteredFormatEvent" data-category="Miscellaneous Events"></span>

<span data-calendar="Gregorian Calendar" data-date="2026-Mar-08" data-name="BigEndianFormatEvent" data-category="Miscellaneous Events"></span>
  1. You should see the BigEndianFormatEvent be added to the Calendarium sidebar that is open, the AlteredFormatEvent will not add to the Calendarium sidebar.

Example File:

Test Note.md

Which Operating Systems are you using?

  • Android
  • iPhone/iPad
  • Linux
  • macOS
  • Windows

Obsidian Version Check

1.12.4 and 1.6.5

Plugin Version

2.1.0

Confirmation

  • I have disabled all other plugins and the issue still persists.

Possible solution

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions