obsidian-calendar-plugin
obsidian-calendar-plugin copied to clipboard
Timezone on Linux
Describe the bug
Calendar does not appear to refresh properly on Linux when the timezone is updated. Dots on the calendar disappear on time zone update.
Then, since the dots are gone, if you try to create a new note on a date that already has an existing note behind the scenes, Calendar says "File does not exist. Would you like to create it?". If you click yes, it then fails "Unable to create new file" (because it already exists, just calendar sidebar doesn't recognize it after the timezone change).
Steps to reproduce
- Open Calendar sidebar pane with dots showing existing daily notes.
- In a terminal, use timezonectl to change the timezone, for example:
timedatectl set-timezone America/Detroit
if you aren't already in Eastern Standard Timezone - Go back to Obsidian, and click "Next Month" on the calendar sidebar to force a refresh.
- Dots on calendar will disappear.
- Side note: if you revert back to the original time zone, the dots reappear. Alternatively, if you close Obsidian while in the "new" timezone and reopen it, the Calendar plugin reloads properly and shows your dots.
Expected behavior
Calendar refresh while Obsidian is running should be consistent on Linux - daily notes should still appear.
Screenshots
Calendar sidebar before changing timezone
Calendar sidebar after changing timezone
Calendar sidebar after reverting back to original timezone
Environment
OS
Linux
Obsidian Version
Obsidian v1.0.3
Calendar Plugin v1.5.10
Theme:
Bug appears on both default Obsidian theme and "Minimal" theme