diff options
-rw-r--r-- | src/Result.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Result.jsx b/src/Result.jsx index a2da055..c8a367e 100644 --- a/src/Result.jsx +++ b/src/Result.jsx @@ -105,7 +105,7 @@ function calculatePerDay(entry, baseSalary, holidayData) { ] } - const segmentPattern = isHoliday(entry.date) ? [8, 1, 15] : [1]; + const segmentPattern = isHoliday(entry.date) ? [8, 1, 15] : [1, 23]; const segmentedDuration = segmentTime(overtimeDuration, segmentPattern); const usedMap = isHoliday(entry.date) ? multiplierMap.holidays : multiplierMap.workDays; for (let i = 0; i < segmentedDuration.length; i++) { |