Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Time zone issues with CalDAV subscribed calendars #233

Closed
maxens-git opened this issue Sep 9, 2024 · 8 comments
Closed

Time zone issues with CalDAV subscribed calendars #233

maxens-git opened this issue Sep 9, 2024 · 8 comments
Labels
bug Something isn't working
Milestone

Comments

@maxens-git
Copy link

Time problem.

Hello I have a problem about the time, indeed my events in my calendar are displayed in UTC time, and there is no way to change it. Do you have an idea to change the time zone of the application
Capture d’écran 2024-09-09 à 20 40 49

@pakerwreah
Copy link
Owner

The (???) part is displayed for meetings when the event timezone is different from your system, but the time you see is actually your local time.

This is just so you know that whoever created the meeting is in a different timezone than yours.

For example, when I go to Brazil I usually see (GMT-3), but the event is displayed in local time.

@maxens-git
Copy link
Author

There is a two hour time lag between Apple's calendar app and Calendr.

@pakerwreah
Copy link
Owner

Check if you have this enabled in Apple's calendar.

@maxens-git
Copy link
Author

it was not activated, but that does not change anything, I specify that the events were created in the same time zone as where I am

@maxens-git
Copy link
Author

I found a solution, I am subscribed to an ics calendar, and I am connected to a caldav account to have the events on my mac, but if I subscribe directly from the calendar application on macOS, this is no longer a problem

@pakerwreah
Copy link
Owner

pakerwreah commented Sep 9, 2024

I explicitly disabled timezone for subscribed calendars on version v1.9.2.
That's because I had the same setup as you. I had a subscribed calendar on Google and was synching it with my mac, but I was getting the wrong timezone.

Google probably does the conversion before reaching Apple's calendar, but still returns UTC, so Calendr was doing the conversion 2x. It's pretty unreliable. There are tons of issues around regarding subscribed calendars.

@pakerwreah pakerwreah added question Further information is requested bug Something isn't working and removed question Further information is requested labels Sep 9, 2024
@pakerwreah
Copy link
Owner

pakerwreah commented Sep 9, 2024

I think I found the issue:

  • I was only ignoring the timezone for "subscribed" calendars, but you were using a subscription from CalDAV, which is called "delegated" calendar.
  • This type of calendar returns false for isSubscribed in the code. I have to also check for isDelegate, which is only available on macOS 13. 🫠

I've made some changes to check that if we can, feel free to try it out with your previously setup and please, tell me if it worked. 🙏🏻

Calendr.zip

@maxens-git
Copy link
Author

Thanks, I will test this tonight

@pakerwreah pakerwreah changed the title Time issue Time zone issues with CalDAV subscribed calendars Sep 10, 2024
@pakerwreah pakerwreah added this to the v1.12.6 milestone Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants