Open Scriptception opened 2 months ago
I suspect that the issue is related to timezones, as recurring events that occur after a certain time work as expected. This is likely because the time calculations for these events remain within the same day, avoiding any timezone-related discrepancies. In other words, the time difference subtractions work correctly when the events occur on the same day, but there might be an issue when crossing over to a new day or timezone boundary.
I just can't find where in the code the issue lies.
Hello, @Scriptception, yeah, timezones are a huge pain. I use a library for this, but it still requires some tinkering to get it right.
@ivan-lednev Any pointers as to where I might look in the code to attempt to fix this? I'm happy to attempt to fix myself and make a PR.
Describe the bug Repeating/Recurring events in Google Calendar are offset by one day (Obsidian is showing them 1 day ahead of google calendar).
To Reproduce Steps to reproduce the behavior:
Expected behavior Expected 1:1 start and end date timestamps.
Screenshots![Screenshot 2024-04-29 105625](https://github.com/ivan-lednev/obsidian-day-planner/assets/118245755/5fcee3ad-5385-4d68-91c4-4f7c440847b3)
Additional context