mendhak / waveshare-epaper-display

At-a-glance dashboard for Raspberry Pi with a Waveshare ePaper 7.5 Inch HAT. Date/Time, Weather, Alerts, Google/Outlook Calendar
https://code.mendhak.com/raspberrypi-epaper-dashboard/
452 stars 67 forks source link

[ ICS ] Even set Timezone, Time is not correct #62

Closed saoullabit closed 1 year ago

saoullabit commented 1 year ago

Hi, I face an issue regarding time. I have set the OS locales to fr_FR and in the LANG in the env.sh I have set export GOOGLE_CALENDAR_TIME_ZONE_NAME=Europe/Paris but it is still UTC that is read from the calendar. The calendar (Google) is defined to be in Europe/Paris too May I've missed something ? Regards, SaouLLABiT

mendhak commented 1 year ago

The GOOGLE_CALENDAR_TIME_ZONE_NAME is only meant for "family" calendars, for some reason in Google Calendar, family calendars are hardcoded to UTC, so this is meant to adjust those times. If yours is not a family calendar can you try without setting that value, just comment it out. From your description it sounds like it's not a family calendar, because you are able to set its time zone.

saoullabit commented 1 year ago

Hi, I have set the tzdata to UTC, seems to be ok.