srg-kostyrko / obsidian-journal

MIT License
70 stars 7 forks source link

[Bug] Incorrect Title for Weekly Notes and Unusual Week Navigation Behavior #34

Open Mary-Biu-Biu-Biu opened 4 months ago

Mary-Biu-Biu-Biu commented 4 months ago

https://github.com/srg-kostyrko/obsidian-journal/assets/63097054/864a0897-6789-4511-8f7b-c575ba2b95d9

Seems there's an issue with the weekly behavior:

  1. It's supposed to be w13, but it redirects to the file with title w12
  2. Some navigation failed

By the way, here's my weekly title template: YYYY/[Weekly]/YYYY-[W]ww

image
srg-kostyrko commented 4 months ago

Tried reproducing this but I don't see this issue.

From video seems that some notes have correct titles (the one for 9th week for example). Could you please provide more context

As for navigation failures - I did not fully get it from video. Was it just not changing note sometime? Or navigating to wrong note?

BTW as I understand you have such complex date format to have folders structure. Though it works this way as well it has a downside that date related variables in template will have this complex string by default. I would advise to have just YYYY-[W]ww, and for folder use variable with custom format, in your case it will look like {{date:YYYY}}/Weekly