🎨 All plain text formats are supported when comparing data snapshots https://github.com/siyuan-note/siyuan/issues/12975

This commit is contained in:
Daniel 2024-11-02 12:21:51 +08:00
parent fc50b864ad
commit a2cb7d4c9b
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
3 changed files with 22 additions and 1 deletions

View file

@ -98,6 +98,10 @@ func GetAssetAbsPath(asset string) (ret string) {
return
}
func GetMimeTypeByExt(ext string) string {
return util.GetMimeTypeByExt(ext)
}
func SetTimezone(container, appDir, timezoneID string) {
if "ios" == container {
os.Setenv("ZONEINFO", filepath.Join(appDir, "app", "zoneinfo.zip"))