liamcain/obsidian-periodic-notes

Weekly note using the wrong year

Closed this issue · 2 comments

For a while (maybe all this year?) I've been having problems creating weekly notes.

When I use the "Open this week" button, it opens a weekly note from 2023 instead of creating or navigating to one in the current year (2024). As an example, today is 2024-10-11. When I click on "Open this week", I get "2023-10-08" which is a note from last year.

I'm using Period Notes 0.17 (latest available within Obsidian Community Plugins list).

My settings for Periodic Notes (version 0.17) looks like this:
image

Here's my settings from the Calendar plugin (version 1.5.10):
image

As you can see, I have "Daily notes" disabled. If I enable that temporarily and use "Open Today's Daily Note", that seems to work for the daily note. But of course that's not a weekly note.

Could I have something misconfigured or is this a bug?

I found a workaround. I changed the format from gggg-MM-DD to YYYY-MM-DD and that worked. So there's something wrong with the "gggg" (week year) syntax being interpreted correctly.