-
-
Notifications
You must be signed in to change notification settings - Fork 78
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
“Unable to create new file” due to week-alignment issue #238
Comments
I can confirm that changing |
Experienced the same issue with almost exactly the same note format. Changing to |
Is there a fork that has this correction/fix? |
There appear to be many forks. But the owner of this repo seems to have abandoned it without handing off maintenance to anyone, so it's pure guesswork as to which one is best to use 😢. In addition to the current issue, I just ran into #245 and so ended up creating yet another fork of my own to collect these hacks on main.js. As mentioned above:
…so, I wouldn't suggest you use it, and I wouldn't be able to provide support. But it does contain the changes from the issue description. |
With:
…I see the following in the console when I invoke the command "Open weekly note":
I should note at this point that I am not a JavaScript developer. But this apparently occurs because of this code:
obsidian-periodic-notes/src/commands.ts
Lines 41 to 47 in 5b96e4f
obsidian-periodic-notes/src/commands.ts
Lines 71 to 77 in 5b96e4f
I don't see this file in my Obsidian directory. Instead at .obsidian/plugins/periodic-notes/main.js there is a file including:
I add some debug code:
Now when I invoke the command, I see a notice bubble with text like:
In short:
.startOf("week")
gives a date 1 day prior to.startOf("isoWeek")
.I can imagine at least two possible reasons for (2):
I managed to hack a workaround by modifying the abovementioned .js file to include:
and
With this, the command works as expected.
The text was updated successfully, but these errors were encountered: