[x] I'm on the latest release of obsidian-list-modified
[x] I've tried disabling any other plugins that may cause conflicts (recommended)
Describe the bug
If creating a new note triggers "new day" flow in OLM, that note gets marked as Modified instead of Created.
UPD: Deleting is affected too. Looks like it writes deleted record into "yesterdays" data, writes that data to todays note and then clears "yesterdays" data, so any consequent change wipes it from daily note.
Rename fails with error in console if renamed note was not previously recorded today. Thinking about it, it doesn't really affect anything, though a check to avoid the error wouldn't hurt. But that's unrelated to this issue.
Expected behaviour
New note should be marked as Created.
Reproducing
My setup
What device are you on? - Windows 11, Obsidian v1.5.12
**What sync service are you using? (if relevant to bug) - None
Steps to reproduce bug
Enable "Separate Created Files" (and Verbose Mode, it was super useful for debugging this)
Wait for a new day to start (or disable OLM, change lastTrackedDate in data.json to previous day, enable OLM)
Create new note
Watch it get put under Modified heading instead of Created
First Steps
Describe the bug
If creating a new note triggers "new day" flow in OLM, that note gets marked as Modified instead of Created.
UPD: Deleting is affected too. Looks like it writes deleted record into "yesterdays" data, writes that data to todays note and then clears "yesterdays" data, so any consequent change wipes it from daily note.
Rename fails with error in console if renamed note was not previously recorded today. Thinking about it, it doesn't really affect anything, though a check to avoid the error wouldn't hurt. But that's unrelated to this issue.
Expected behaviour
New note should be marked as Created.
Reproducing
My setup
Steps to reproduce bug
Additional info?