seanlowe / obsidian-timelines

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

Horizontal timelines and hours #39

Closed Azmoinal closed 2 months ago

Azmoinal commented 2 months ago

It seems that horizontal timelines don't render correctly hours.

I tried to use the inline template added using plugin command but it seems that any event, I introduced are rendered by midnight to midnight, ignoring the hour information. So basically the event below is collapsed in a line.

<div class="ob-timelines"
    data-title="TestRange"
    data-description="Range"
    data-color=""
    data-type="range"
    data-start-date="1450-01-01-01"
    data-end-date="1450-01-01-16"
    data-tags="testtag">
     Event description
</div>

I checked the documentation and it seems fine to me but I'm just starting to work on your plugin.

To render the horizontal timeline is used the following tags.

ob-timeline
 tags=korkinam
 startDate=1449
 endDate=1451
 minDate=1449
 maxDate=1451
 zoomInLimit=day
 zoomOutLimit=32140800000
 type=flat

Is it a know limitation?

seanlowe commented 2 months ago

This has been fixed in release 2.1.6

Turns out I didn't correctly update the function that created the values vis-timeline needed for event dates to account for the hours when I redid the dates elsewhere.

Thanks for bringing this up

Azmoinal commented 2 months ago

This one just to confirm that the issue has been fixed. Thanks a lot for the very quick fix!