alangrainger / obsidian-frontmatter-modified-date

Automatically update a frontmatter/YAML modified date field
MIT License
63 stars 10 forks source link

"Only update existing fields" doesn't work when key is empty #10

Closed redactedscribe closed 11 months ago

redactedscribe commented 11 months ago

"Only update existing fields" option doesn't work if the property/key doesn't have a value.

With the option enabled, the following will not have the timestamp added after an edit:

modified: 

But this will:

modified: test

Expected: When enabled, only update files with modified:(or custom) present, regardless if it has a value or not.

Thanks.

alangrainger commented 11 months ago

Fixed in 1.3.2

redactedscribe commented 11 months ago

It works, thanks!