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
(cherry picked from commit 39eba5065b)
This commit is contained in:
committed by
Hugo Häggmark
parent
cfc13f7e30
commit
a4689e646a
@@ -102,6 +102,7 @@ func (ss *SqlStore) Init() error {
|
||||
// Register handlers
|
||||
ss.addUserQueryAndCommandHandlers()
|
||||
ss.addAlertNotificationUidByIdHandler()
|
||||
ss.addPreferencesQueryAndCommandHandlers()
|
||||
|
||||
err = ss.logOrgsNotice()
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user