Skip to content

Commit

Permalink
Fix substraction of non-working days
Browse files Browse the repository at this point in the history
  • Loading branch information
polo2ro committed Feb 24, 2020
1 parent 1b97cd3 commit 3c938a3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion public/js/services/request-edit.js
Expand Up @@ -205,7 +205,9 @@ define(['moment', 'momentDurationFormat', 'q'], function(moment, momentDuration,
var params = {
type: 'workschedule',
dtstart: begin,
dtend: end
dtend: end,
subtractNonWorkingDays: true,
subtractPersonalEvents: true
};

// Admin only?
Expand Down

0 comments on commit 3c938a3

Please sign in to comment.