marcusolsson/obsidian-projects

The property of date & time couldn't be recognized

Opened this issue · 4 comments

What happened?

I have changed property to date & time, but in project the property is still text. I have tried delete the project and add new one, but it didn't work.

Now I couldn't use calendar view in project since the property of date & time couldn't be recognized.

image image

What did you expect to happen?

Hope to use calendar view. Hope the property of date & time could be recognized.

How can we reproduce it (as minimally and precisely as possible)?

Try 2024-08-09T05:42:01.000000Z in property and set the property to be text at first, create project and calendar view, it surely will not be recognized. Then change the property to be date & time in notes, and delete the project and create a new one.

Anything else we need to know?

No response

Plugin version

1.17.4

Obsidian version

1.6.7

OS

macOS

I have tried to change my date and time format. But it is still not recognized by the plug-in as a date and time property.

But in fact, it is already in the date and time format in the property of notes page.

image image

Hello, I have tested that Projects is very strict or sensitive with the "formatting" of the "properties", I have managed to find a temporary solution, somehow the dates and other properties.

Create a project table. Go to your date property. Then verify that each one has exactly the same format, that is, it is date-time or date and that each note has a date. Then change the property name in the Projects table. And if the format is the same in each note, it will be reinterpreted as a "date"

I think you should at least red flag an error on properties that are poorly formatted.

I discovered this because I had a property that had data in "text" format and another in "list" format so it was misinterpreted and I couldn't use it in the dashboard view.
I don't know if I have to do separate run issues for this. Every time I have a "text" and in the native properties they add a piece of data, it is converted to "list" and that already makes it unusable in the dashboard.

The notes in that Projects folder is synced with other apps. The original property is "text", and I changed them into "date & time". The problem is that I failed to make these synchronized notes be displayed in Projects calendar view as the property were not recognized in Projects table view.

Working on supporing timezone symbol / offsets and hopefully can fix the sensitive detection together.