obsidian-timelines icon indicating copy to clipboard operation
obsidian-timelines copied to clipboard

[Feature] Custom calendars for timelines

Open Wrasal opened this issue 1 year ago • 3 comments

I have a need to use both a standard calendar and a custom calendar with its own number and names for dates, days, and months, and without leap years.

Is it possible to implement this function?

Wrasal avatar Aug 30 '24 15:08 Wrasal

Unfortunately, at the moment there is no way I could fully implement that. The library I use to draw the horizontal timelines translates everything to the standard calendar. It might be possible for the vertical timeline.

Aside from that, there isn't even really anything out (libraries, other plugins, random apps) currently which do this, to my knowledge.

I have considered writing a datetime library which allows completely custom dates kind of like what you're explaining. Using that library would (I feel) make managing dates in this plugin a little easier but unfortunately that still wouldn't allow you to use them on the horizontal timeline. I'd have to fork that library and reimplement how it renders the timeline in order to do that.

seanlowe avatar Aug 30 '24 22:08 seanlowe

It's a pity. I have a plugin that allows me to create a custom calendar. I'm currently using it. Unfortunately, its functionality for displaying information and creating events is not very convenient, but it might give you some food for thought.

https://github.com/javalent/calendarium

Wrasal avatar Sep 01 '24 22:09 Wrasal

I'm echoing this request, particularly in cahoots with the Calendarium plugin. Would be brilliant for those of us who create our own worlds, whether we're role-players or novelists or something else!

matthewmerendo avatar Mar 24 '25 02:03 matthewmerendo