obsidian-periodic-notes icon indicating copy to clipboard operation
obsidian-periodic-notes copied to clipboard

ISO Weekly Notes File Name is not correct

Open desktopofsamuel opened this issue 3 years ago • 5 comments

When I create Weekly Note, even when I'm previewing my current syntax in Preference (which W16 is correct), but the note file name, when create, is W15 instead of W16.

image

The Result:

image

desktopofsamuel avatar Apr 23 '21 04:04 desktopofsamuel

Thanks for the report. I see what the issue is; it's specifically an issue with ISO week numbers. I'll try to have a fix out this weekend.

liamcain avatar Apr 23 '21 22:04 liamcain

Bumping just to say I haven't forgetten about this, it's just been a busy couple of weeks. Hoping to resolve this sometime during the week. As a workaround though, you can use the calendar plugin and change your locale to en-gb. Then you can just use ww as the format instead of WW.

liamcain avatar May 03 '21 22:05 liamcain

Just flagging this again - I just ran into it. I'm on a US-locale Windows computer, but I have week start set to Monday and a long habit of using ISO week number for notes. I thought this plugin would support it out of the box because it's a formatting option, but apparently not - the note that gets created is week-of-year format instead of ISO week, and also starts on Sunday (note the 21-40 note created in the background to the left):

image

jonvuri avatar Oct 14 '21 04:10 jonvuri

As a workaround though, you can use the calendar plugin and change your locale to en-gb.

This workaround worked great for me though. I'm not going to use the calendar at all so it's a little weird, but whatever.

jonvuri avatar Oct 14 '21 04:10 jonvuri

Did this get fixed? I think it's working correctly on my installation. (I'm now using the en-gb workaround to fix the week numbers in the calendar, tho.)

colintedford avatar Jan 30 '22 12:01 colintedford