seanlowe / obsidian-timelines

Create a timeline view of all notes with the specified combination of tags
https://seanlowe.github.io/obsidian-timelines/
MIT License
46 stars 2 forks source link

Custom calendars #92

Open Wrasal opened 2 weeks ago

Wrasal commented 2 weeks ago

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?

seanlowe commented 2 weeks ago

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.

Wrasal commented 2 weeks ago

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