更新加班时长计算
This commit is contained in:
parent
f3b20fdacb
commit
ff6530d012
|
@ -128,7 +128,8 @@ const START_HOUR = 9;
|
||||||
const END_HOUR = 18;
|
const END_HOUR = 18;
|
||||||
const START_BREAK_HOUR = 12;
|
const START_BREAK_HOUR = 12;
|
||||||
const END_BREAK_HOUR = 13;
|
const END_BREAK_HOUR = 13;
|
||||||
const WEEKEND_DAYS = [0, 6];
|
//定义周末
|
||||||
|
const WEEKEND_DAYS = [0];
|
||||||
|
|
||||||
function isWeekend(day) {
|
function isWeekend(day) {
|
||||||
return WEEKEND_DAYS.includes(day);
|
return WEEKEND_DAYS.includes(day);
|
||||||
|
|
|
@ -103,7 +103,7 @@ const START_HOUR = 9;
|
||||||
const END_HOUR = 18;
|
const END_HOUR = 18;
|
||||||
const START_BREAK_HOUR = 12;
|
const START_BREAK_HOUR = 12;
|
||||||
const END_BREAK_HOUR = 13;
|
const END_BREAK_HOUR = 13;
|
||||||
const WEEKEND_DAYS = [0, 6];
|
const WEEKEND_DAYS = [0];
|
||||||
|
|
||||||
function isWeekend(day) {
|
function isWeekend(day) {
|
||||||
return WEEKEND_DAYS.includes(day);
|
return WEEKEND_DAYS.includes(day);
|
||||||
|
|
Loading…
Reference in New Issue