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

After daylight saving, all events are off by one hour #165

Closed
isene opened this issue Apr 4, 2020 · 3 comments
Closed

After daylight saving, all events are off by one hour #165

isene opened this issue Apr 4, 2020 · 3 comments

Comments

@isene
Copy link

isene commented Apr 4, 2020

Last month, Norway entered Daylight saving time. In Google calendar on the web, the events are displayed correctly, but in calendar.vim, they are displayed one hour earlier. How to fix?

@itchyny
Copy link
Owner

itchyny commented Apr 6, 2020

First of all, the plugin does not support DST switch (#142) and there's no plan to support it for now. The timezone of the plugin follows the timezone of the environment (like date command). So one option is to configure the environment (maybe TZ). And another option is to configure g:calendar_time_zone (See `:h g:calendar_time_zone).

@isene
Copy link
Author

isene commented Apr 6, 2020

I found the issue here - it's that I didn't restart VIM after DST. Doing that updated the appointment times and all is fine. Maybe add a note in the docs on that?

@itchyny
Copy link
Owner

itchyny commented Apr 6, 2020

Hmm, restarting something is in general the solution for various kind of problems (not only for this DST problem), so I don't think documentation is appropriate.

@itchyny itchyny closed this as completed Apr 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants