mirror of
https://github.com/openharmony/js_api_module.git
synced 2026-08-24 22:21:26 -04:00
Modify js_sys_module issue bug
Signed-off-by: xllify <lixinlong18@huawei.com> Please enter the commit message for your changes. Lines starting with '#' will be ignored, and an empty message aborts the commit. On branch master Your branch is up to date with 'origin/master'. Please enter the commit message for your changes. Lines starting with '#' will be ignored, and an empty message aborts the commit. Date: Thu Mar 24 17:03:50 2022 +0800 On branch master Your branch and 'origin/master' have diverged, Please enter the commit message for your changes. Lines starting with '#' will be ignored, and an empty message aborts the commit. Date: Thu Mar 24 17:03:50 2022 +0800 On branch master Please enter the commit message for your changes. Lines starting with '#' will be ignored, and an empty message aborts the commit. Date: Thu Mar 24 17:03:50 2022 +0800 On branch master
This commit is contained in:
@@ -421,7 +421,7 @@ namespace OHOS::Js_sys_module::Process {
|
||||
return result;
|
||||
}
|
||||
|
||||
int Process::ConvertTime(time_t tvsec, long tvnsec) const
|
||||
int Process::ConvertTime(time_t tvsec, int64_t tvnsec) const
|
||||
{
|
||||
return int(tvsec * 1000) + int(tvnsec / 1000000); // 98999:Only converttime numbers is 1000 and 1000000.
|
||||
}
|
||||
@@ -574,4 +574,4 @@ namespace OHOS::Js_sys_module::Process {
|
||||
}
|
||||
eventMap.clear();
|
||||
}
|
||||
} // namespace
|
||||
} // namespace OHOS::Js_sys_module::Process
|
||||
|
||||
Reference in New Issue
Block a user