Steps to reproduce
Daily notes plugin: When entering a template in Date format
field, it allows you to enter a colon. But :
is not allowed in a filename. If you have a colon in your Date format
, it fails to make a new note.
Example of a failing format: YYYY-MM-DD:mm
Expected result
When you enter a colon in the title
for a note, you are given a warning saying it is an invalid character. I would expect the Daily Notes
plugin to give a similar warning.
Actual result
If you have a colon in your Date format
, then when you attempt to trigger Open today's daily note
, nothing happens.
It does output an error in the console. But non-technical users may not know to look there.
I see users being confused by this:
Thanks all for your help. I finally found the problem. The date format I had specified in Daily Notes plugin option contained an unpermitted character, to wit: a colon in the time display field, and there was no notification from Obsidian, it just didn’t do anything. Had I posted a screen print of the plugin options I had specified you guys would have caught it immediately. I’m very much a newbie with Obsidian and I’m still trying to figure out the concepts and methods. Thanks for your responses…
When inputting the date and time format, such as, ‘YYYY-MM-DD hh:mm A’ it renders properly in the example in the plugin page, but fails to create a daily note. When I remove the ‘hh:mm A,’ it creates the daily note as expected.
Is that a bug or am I doing something wrong?
“What was the fix, exactly?”
The fix for this specific problem was changing the formatting. However I discovered if you use the right formatting with a colon between, say, kk:mm, that does not display an error either. It should probably remind you that you can’t put “special characters” (? | : " / \ < > *) in the titles of notes, like it does with the normal file tree.
OS: MacOS
Obsidian version: 0.13.4
Installer: 0.11.13
Additional information
This was tagged “Bug graveyard” in this thread but the issue still seems to be there now.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.