Template {{date}} probable issue?

Context

I use a template for daily notes whose properties code is:

---
tags:
- dailynote
- task
date: {{date}}
time: {{time}}
---

Issue?

Code when template is applied:

---
tags:
- dailynote
- task
date: 23/10/2024
time: 08:00
---

Here an example of preview mode

I have two vaults: one is where I have this issue and other where there is no problem

What do you think about?

Have you tried changing the date separators?

From / to -

YYYY-MM-DD

Do you mean {{date:YYYY-MM-DD}}

As a one-off, yes (as it says is possible in the screenshot below).

Or it can be set to your preference in the Settings panel for the Templates core plugin.

Does it work as you need?

1 Like

Yes it does! Thx

1 Like