Dashboard: Support configuring default timezone via config file (#27404)

Add a default timezone that the administrator can set in the settings. 
This setting is be used as default for the users timezone preference.
Can be used when creating Grafana instances without administrator 
intervention, in order to give user the correct default timezone.

Fixes #25654
This commit is contained in:
Wouter Smeenk
2020-09-15 15:20:53 +02:00
committed by GitHub
parent 53153c82fc
commit 39eba5065b
9 changed files with 94 additions and 16 deletions

View File

@@ -811,3 +811,6 @@
# Experimental feature
;use_browser_locale = false
# Default timezone for user preferences. Options are 'browser' for the browser local timezone or a timezone name from IANA Time Zone database, e.g. 'UTC' or 'Europe/Amsterdam' etc.
;default_timezone = browser