Skip to content

Commit

Permalink
fix: running the calendar reports a timezone error
Browse files Browse the repository at this point in the history
localtime直接挂载成文件, 当系统是北京时区会导致日历报时间格式错误
目前定位到QDateTime.isValid返回false, 具体原因还需要后续排查

Log:
  • Loading branch information
myml authored and dengbo11 committed Oct 24, 2024
1 parent acc3ecd commit 54ab744
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions apps/generators/40-host-ipc/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -247,13 +247,6 @@ int main()
localtimePath = "/run/host/rootfs" + absoluteTarget;
}
}
// 为 /run/linglong/etc/ld.so.cache 创建父目录
mounts.push_back({
{ "destination", "/run/linglong/etc" },
{ "options", nlohmann::json::array({ "nodev", "nosuid", "mode=700" }) },
{ "source", "tmpfs" },
{ "type", "tmpfs" },
});

auto pwd = std::filesystem::current_path();
// [name, destination, target]
Expand Down

0 comments on commit 54ab744

Please sign in to comment.