'Open today's note' and 'Create new Zett... note' sidebar icons don't work when date format contains L and/or LT

Steps to reproduce

  1. Open Settings.
  2. Add ‘L’, ‘LT’, or both, to the date format field in Daily notes or Zet… prefixer.
  3. Click the ‘Open today’s note’ or ‘Create new Zett… note’ icons in the minibar.

Expected result

The expected result is generating note titles based on the date syntax generated by L (09/30/2020) and LT (10:08 AM) as previewed correctly in the settings menu.

Actual result

The actual result is not being able to generate new daily or Zett… notes.

Environment

  • Operating system: Windows 10 Pro 2004 19041.508
  • Obsidian version: 0.9.1

Additional information

They can’t work because they contain / it’s an illegal character for filenames

1 Like

Good catch! I totally missed that! Maybe there should be a warning in the settings menu to indicate that an illegal name has been generated, and/or ask if you want to replace/remove the slashes.