Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Clean code

Daniel345d802725f6
diff --git a/kernel/harmony/kernel.go b/kernel/harmony/kernel.go
index 18359fb84b..0eda73a94b 100644
--- a/kernel/harmony/kernel.go
+++ b/kernel/harmony/kernel.go
@@ -20,7 +20,6 @@ import (
"C"
"fmt"
"os"
- "path/filepath"
"strings"
"time"
@@ -114,9 +113,6 @@ func GetMimeTypeByExt(ext string) string {
//export SetTimezone
func SetTimezone(container, appDir, timezoneID string) {
- if "ios" == container {
- os.Setenv("ZONEINFO", filepath.Join(appDir, "app", "zoneinfo.zip"))
- }
z, err := time.LoadLocation(strings.TrimSpace(timezoneID))
if err != nil {
fmt.Printf("load location failed: %s\n", err)