js 两个日期间工做时长,不抛出节假日,每日8小时计算

const workTime = function (start, end) { start = new Date(start); end = new Date(end); const at = 8.5, bt = 1.5, ct = 6, dt = 16, startDate = start.to
相关文章
相关标签/搜索