pranavmangal / obsidian-single-file-daily-notes

An Obsidian plugin to create and manage daily notes in a single file
https://obsidian.md/plugins?id=single-file-daily-notes
MIT License
15 stars 3 forks source link

Non-English paths doesn't seem to be supported? #7

Open li0817 opened 4 months ago

li0817 commented 4 months ago

After I used the Chinese path to the location of the note, the date will not be shown in the note automatically, and I can't create a new daily note by clicking on the calendar. As the GIF shows below: 日记插件不支持中文路径


Apart from the issue above, there's one more thing I'm confused about. In my another Obsidian vault, the days of a week can be displayed in Chinese, as well as the calendar (and it starts on Monday, which is in line with Chinese usage). Just as follows. image

At first I suspected it was due to the different theme, but I switched to the same theme, or exported the settings of that theme to imported the settings of the theme of current vault, and it still didn't work, the current note still displays the calendar and the days of a week in English. Also, I tried to disable all the other plugins, and it was still shows the same. I couldn't figure out what the problem is, maybe the locale setting of moment.js is set somewhere I can't see?