Wrong date in Properties

What I’m trying to do

Add template to notes that autofill todays date

Things I have tried

I’ve checked to see if I can alter the date within the properties addon. But with it being a core feature there doesn’t seem to be any options.

I’ve searched for “Wrong date in Properties”
Every time I insert a template to a note the date comes out wrong. I’m in the UK and we use date format dd/mm/yyyy.
When I press Ctrl+4 it says the right date:
Obsidian_3Pv5S4Ne8v
But when it’s in “normal view” (sorry I don’t know all the terminology) it tries to revert the format to American-style dates:

Any idea how to resolve this?
Also I would like to make UK date style system wide as it’s a bit of a faff to have to alter it with every addon.

Thanks in advance,
Gus

The only format allowed in date and date/time keys in source mode is the ISO8601 one … which is then parsed in the format set at your device OS level by Properties in Live Preview and Reading :blush:

So, date and date/time keys needs to be written as YYYY-MM-DD or YYYY-MM-DD[T]HH:mm to be parsed correctly by Properties, otherwise it can lead to some unexpected results, like what you’ve encountered here (the day part was parsed as the year and the first 2 digits of 2024 were taken as the day).

Edit: Here’s a post with a longer explanation about what’s happening with the “wrong date”: here :blush:


These could also be useful :innocent: :

1 Like

Thanks, I’ll take a look at these.

1 Like

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