Eneswar
September 12, 2023, 5:47pm
1
After updating obsidian to the latest 1.4.12, the issue still persists for me.
Here is how my new fresh template look like:
---
date: {{date:DD-MM, YYYY}}
---
Here is how it looks like in live edit mode:
Here is how it looks like inserting it to a new note:
Previous thread:
Entries propery field becoming nulled after update - Bug graveyard - Obsidian Forum
Eneswar
September 12, 2023, 6:06pm
2
Copy of template:
test.md (32 Bytes)
Copy of note that I inserted the template into.
test1.md (23 Bytes)
I don’t seen anything wrong in those screenshots. What’s the problem?
When you open the template file, is marked in orange because at that point is not valid date. It may not even be proper yaml.
Eneswar
September 12, 2023, 6:15pm
4
I have never seen the null
bit before, I assume its suppose to be there now? If its not a bug then I am sorry for creating the thread.
How would it look like proper yaml tho?
Also if you notice I have it set up as DD-MM-YYYY but obsidian insists on using YYYY-MM-DD so it looks like i created the note in 2012, this all worked fine in the past before the properties update, im not sure how to fix that.
Actually, I think I understand now what your problem is.
Read both of these
This FR was created to capture the discussion related to letting the user choose in which format the dates of type “date & time” in properties are saved on file.
Currently, we use ISO 8601, extended syntax, second resolution, local time.
While the format chosen for the internal representation may be subject to minor changes in the future, we do not plan for having the users pick a different format. We would like to have fixed format to facilitate interoperability with outside software.
If you…
And
Mod-Note: This FR is specifically about customizing the way dates are displayed not the format they are written on file. Currently, the displayed format follows what you have chosen at OS-level.
Use case or problem
As far as I could see, how dates/times are displayed within Properties seems to be device dependent instead of just re-using the format from the YAML.
My device was not set to use dates formatted as YYYY-MM-DD and I had to go and change these settings so Properties would actually …
Eneswar
September 12, 2023, 6:18pm
6
Thank you very much I will read up on those, feel free to close this thread, sorry for the trouble.
system
Closed
September 20, 2023, 12:19am
8
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.