This commit is contained in:
2022-02-04 01:08:48 +00:00
parent afab91a2e1
commit 721fab0b07
3 changed files with 35 additions and 21 deletions

View File

@@ -431,6 +431,20 @@ export default {
});
return 0;
}
// console.log(
// "locale:diffhours...",
// stopDate.diff(startDate, "hours").toObject().hours
// );
// console.log(
// "locale:diffhours.. ROUNDED.",
// window.$gz.util.roundAccurately(
// stopDate.diff(startDate, "hours").toObject().hours,
// 2
// )
// );
return window.$gz.util.roundAccurately(
stopDate.diff(startDate, "hours").toObject().hours,
2