更新加班时长计算

This commit is contained in:
yaooo 2023-11-24 15:03:51 +08:00
parent f3b20fdacb
commit ff6530d012
2 changed files with 3 additions and 2 deletions

View File

@ -128,7 +128,8 @@ const START_HOUR = 9;
const END_HOUR = 18;
const START_BREAK_HOUR = 12;
const END_BREAK_HOUR = 13;
const WEEKEND_DAYS = [0, 6];
//定义周末
const WEEKEND_DAYS = [0];
function isWeekend(day) {
return WEEKEND_DAYS.includes(day);

View File

@ -103,7 +103,7 @@ const START_HOUR = 9;
const END_HOUR = 18;
const START_BREAK_HOUR = 12;
const END_BREAK_HOUR = 13;
const WEEKEND_DAYS = [0, 6];
const WEEKEND_DAYS = [0];
function isWeekend(day) {
return WEEKEND_DAYS.includes(day);