-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Wrong data being displayed #30
Comments
Thank you @bjornfiles ❤️ This is super duper weird. I suspect it's a date issue, especially since it skipped the last day of March. Probably that's not March at all. By any chance could you share a copy of your vault? If not, can you help with this info:
|
I get the same issue, and as you suggest @zoreet, setting the "lastDisplayedDate" caused the wrong month (out by one) to be displayed. For example, when I set "lastDisplayedDate" to be "2024-04-26" (i.e. up to 26 April), the grid show habits completed up to 26 May. An issue with the lovely js Date library? |
Shit. Let me looks into it |
I can't figure it out, so I will need your help. I've released a new version that has 2 features to help me debug this issue.
Can you pls give this a try and report back? @TheRealPJC @bjornfiles |
OK, I tried the debug version, and I cannot reproduce the problem. The mouse-over dates, debug JSON and displayed habits data all behave exactly as expected. I'm not sure what is going on... |
The date displayed is also wrong for me, right now it starts at 29 May 2024 and I cannot change it even when I include lastDisplayDate |
My timezone is gmt+2 |
@pinetreemoonlight I'm confused. Is the value for lastDisplayedDate correct? Because if it is, it looks like the habit tracker 21 is rendering the days between 2024-05-29 and 2024-06-18 which is exactly 21 days. |
It's October and I see March dates. I just installed the plugin, only the default |
...oh I added the path parameter the md file inside the Habits folder, that's why... it shows a loooong horizontally scrollable list and the March is at the beginning, that's why. When I use it without parameters, it works. |
First of all, thank you for creating this very elegant plugin (when it works).
It's the lightest, lowest-friction and, IMO most outcome-focused take on habit tracking I've seen to date, in or outside of Obsidian.
However, as of today it's completely failing for me:
This is my Habit Tracker code block in my daily note template:
But I'm not seeing my recent completed habit boxes and the "current month" displayed ends at 30, when March has 31 days.
Screenshot here:
The text was updated successfully, but these errors were encountered: