file.day does not work
What happened?
The file.day function does not work as expected under certain conditions.
Situation:
Consider the following files:
-
History/2024-01-01 Test1 -
History/2024-01-02 Test2 -
History/Backup/2024-01-03 Test3
I created the following query to retrieve the dates from the files under the History folder:
LIST file.day
FROM "History"
However, the file.day could not retrieve the date for the file located in the Backup folder.
Expected
- 2024-01-01 Test1: 2024-01-01
- 2024-01-02 Test2: 2024-01-02
- 2024-01-03 Test3: 2024-01-03
Actual
- 2024-01-01 Test1: 2024-01-01
- 2024-01-02 Test2: 2024-01-02
- 2024-01-03 Test3: -
DQL
LIST file.day
FROM "History"
JS
No response
Dataview Version
0.5.67
Obsidian Version
1.6.7
OS
Windows
Don't you mean file.cday / file.mday?
i don't see any file.day in the dataview docs!
Don't you mean
file.cday/file.mday? i don't see anyfile.dayin the dataview docs!
https://blacksmithgu.github.io/obsidian-dataview/annotation/metadata-pages/
@capitanhazel
I used file.day.
@haoduoyu Thank you for the additional information!
The reason is unclear, but the symptoms are no longer recurring. Thank you.