Skip to content
This repository has been archived by the owner on Aug 21, 2023. It is now read-only.

Timezone Setup #10

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Timezone Setup #10

wants to merge 2 commits into from

Conversation

milafrerichs
Copy link

What does this PR do?

It adds GA_TIMEZONE_OFFSET to the ENV.
This allows the dashboard to better calculate the displayed barchart with accurate results from GA.
It's much easier to perform this step in the setup since we already asking GA for all the information. And the timezone is already available.

Anybody that is not using the setup can set the env variable themselves.

is needed for frontend time calculations
better to do it once the app is initialized
save the offset to UTC to be used by the app
much faster and more reliable doing it on the server
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants