[Bug - Vertical] Sections of the date are visible when not provided
Closed this issue · 5 comments
Hey, sorry. Last release must have regressed this. I'll look into this soon!
(Edit) Side note: You can display your codeblocks by using 4 backticks (`) surrounding your codeblock. This scales, as I put 5 around this one to get it to render the 4 backticks
````
```ob-timeline
tags=some-tag;otherTag
```
````
Thank you very much! The plugin is very suit for my need. I appreciate your effort in developing obsidian-timelines!
OK - did some digging here. I found out that when you pass all sections of the date string, year, month, day, and hour, it behaves as you'd expect. You can pass something like "2024-01-00-00" to get "2024-1" on your timeline, or you can pass "2024-00-00-00" to show only the year.
My logic fails when there are pieces of the date string missing.
If you look at this screenshot:
You can see each of the examples I described above.
So, this is a workaround but this validates that there does exist a bug and I can have a better idea of where to look for this. For now, the workaround is to simply put all sections of the date-strings. For any sections you don't want to show up, put it as 0
This is fixed in release 2.3.2