HI, Is there a variable that obtains the value of the time zone of the user who is viewing?
There is for prometheus datasources https://github.com/grafana/grafana/blob/main/docs/sources/dashboards/variables/add-template-variables/index.md#__timezone
If its a database source you could try something similar to this https://github.com/grafana/grafana/discussions/38159#discussioncomment-5767571
thanks!!
Sure, but what I need is to get the timezone value of the user who is connecting, for example I have my hours in UTC, but I have users who connect from Mexico, Spain, Argentina, Chile and each one with a different timezone, and I need to take the variable of what time zone the user who is connecting has.
sure it says use browser time, thus the time that the connecting user is in as long as their browser is set correctly I think? I could be wrong though
$__timezone
The $__timezone
variable returns the currently selected time zone, either utc
or an entry of the IANA time zone database (for example, America/New_York
).
If the currently selected time zone is Browser Time, Grafana will try to determine your browser time zone.