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 authored and GitHub committed 2020-09-15 15:20:53 +02:00
1 parent 53153c82fc
commit 39eba5065b
9 files changed
+94 -16

No files matched your search

+1
View File
@@ -102,6 +102,7 @@ func (ss *SqlStore) Init() error {
// Register handlers
ss.addUserQueryAndCommandHandlers()
ss.addAlertNotificationUidByIdHandler()
ss.addPreferencesQueryAndCommandHandlers()
err = ss.logOrgsNotice()
if err != nil {