summaryrefslogtreecommitdiffstats
path: root/modules/setting/setting.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/setting/setting.go')
-rw-r--r--modules/setting/setting.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go
index 46ef20f61e..7d86ef3056 100644
--- a/modules/setting/setting.go
+++ b/modules/setting/setting.go
@@ -531,6 +531,9 @@ var (
IterateBufferSize int
ExternalMarkupParsers []MarkupParser
+ // UILocation is the location on the UI, so that we can display the time on UI.
+ // Currently only show the default time.Local, it could be added to app.ini after UI is ready
+ UILocation = time.Local
)
// DateLang transforms standard language locale name to corresponding value in datetime plugin.