Open
Description
Before Submitting: Double-check that you are running the latest version of the plugin. The bug might have already been fixed 😄
Describe the bug
A note created on one machine when synchronized using Obsidian Sync service on another on any day after it was created - Calendar Plugin will modify the 'modified' date.
Steps to reproduce
Required: Obsidian Sync Service, at least two machines (I had used Mac - an x86 and M1 Mac Book Pro) with Calendar Plug installed and enabled.
- Go to one machine (I am synchronizing between 2 Mac machines), and create a note (e.g., Friday, January 31st). Make sure Obsidian is NOT running on the second machine.
- The next day or any day after the note was created on the first machine, open Obsidian with Sync service enabled, as well as the Calendar Plug In installed.
- Browse or look for the note in the file explorer or finder that was initially created on the first machine on the second machine - look for the date modified field. It would be updated to the current time and date when Obsidian was opened and synchronized.
Two data points:
- Modification is easy to track when you do it one day apart, BUT the problem happens even if the time is different. So, on the same date - if you synchronize the second machine with Calendar Plug In enabled - the date will remain the same, but you will notice the time has been updated to the time you opened Obsidian.
- You can also use DataView to discover the modified date and time for example:
LIST
WHERE file.mday = this.file.day and file.cday < this.file.day
Expected behavior
Calendar Plug In should not modify Obsidian notes when they are synchronized.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please specify)
OS
[Windows/macOS/Linux]
Obsidian Version (e.g. v0.10.6)
(Settings → About → Current Version)
1.7.7
Theme (if applicable):
If the bug is visual, please provide the name of the Community Theme you're using.