|
|
@@ -48,8 +48,8 @@ class PlanningSlot(models.Model):
|
|
|
|
|
|
# Calcular los días laborables del mes completo
|
|
|
real_working_days = calendar.get_work_duration_data(
|
|
|
- start_of_month,
|
|
|
- end_of_month,
|
|
|
+ timezone_datetime(start_of_month),
|
|
|
+ timezone_datetime(end_of_month),
|
|
|
compute_leaves=True
|
|
|
)
|
|
|
|