Templater and Data Type

I have a property called “created” on my notes. The property is of type date. I normally use templater to populate the date
<% tp.date.now(“YYYY-MM-DD”) %>
I noticed that if I use typeof to determine the property type

  1. If the note was created with template and the date was auto-populated via templater, the data type is string
  2. If the note is manually created and I use the YAML date picker, the data type is date

I would expect the data type to be the same ?? Which data is correct ??
Hoping I am not doing something very wrong and need to rework my notes

To add to my post - can’t edit it

when viewing in source mode both cases (select via picker or populated via templater) display a string like 2025-07-30 regardless of reported data type via typeof

That was user error
Seems like a plugin has filled created earlier with a string “2025-10-20” including the quotes

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.