obsidian-calendar-plugin icon indicating copy to clipboard operation
obsidian-calendar-plugin copied to clipboard

Weekly note shortcut and it's template not read YAML properly

Open llZektorll opened this issue 2 years ago • 0 comments

Describe the bug

Configuring a template for the weekly note, it will ignore the date format in the YAML

Steps to reproduce

  1. On the calendar general settings, leave the Weekly note format as default
  2. Se up a Weekly note template that have in the YAML (created: "{{date}} at {{time}}" )
  3. Set up a destination folder
  4. On the calendar, click on a week number so it creates a file for the week
  5. In the YAML that was configured with the values from step 2 you will notice that the values are set as ( created: "2022-W24 at 2022-W24" )

Expected behavior

The YAML will read the date and time a place accordingly. It should look something like this ( created: "2022-09-09 at 12:39" )

Environment (please specify)

Local

OS

Windows

Obsidian Version (e.g. v0.10.6)

Version: 0.15.9

Extra information

I have tested to use the template in a file that was not created with the calendar and the values are placed correctly.

llZektorll avatar Sep 09 '22 12:09 llZektorll