A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
feat(init): set default time zone
LinkinStarsf7e3e5982296
diff --git a/internal/migrations/init.go b/internal/migrations/init.goindex b0760b36..20bc8863 100644--- a/internal/migrations/init.go+++ b/internal/migrations/init.go@@ -114,9 +114,8 @@ func initAdminUser(engine *xorm.Engine) error {func initSiteInfo(engine *xorm.Engine, language, siteName, siteURL, contactEmail string) error {interfaceData := map[string]string{- "logo": "",- "theme": "black",- "language": language,+ "language": language,+ "time_zone": "UTC",}interfaceDataBytes, _ := json.Marshal(interfaceData)_, err := engine.InsertOne(&entity.SiteInfo{