Calculating leave duration with non-working days

The feature describes into this article allows you to display non-working days on the calendar pages and to automatically calculate the duration of a leave request. It means that when an employee will enter the start and end dates for a leave request, Jorani will automatically calculate the duration of a leave by taking into account the non-working days (public days off and week-end) defined on a contract (an example is given at the end of this article).

The behavior describes into this article can be desactivated for some special leave types. Please read the last section if you want to know more about these special types.


You must have created a contract and an employee attached to this contract.

How to define the non-working days?

Login to the application with an account having "hr" role. Access to the page "List of contracts" from the HR menu. Choose the line containing the contract you want to modify and click on the calendar icon ():

  • List of contracts from HR menu

    List of contracts from HR menu

This will open a page displaying a full year calendar. You can change the year being display by clicking on the buttons for previous or next years.

This calendar displays the working and non-working days. Please note that you can define half non-working days (morning or afternoon).

If non-working days are already defined, they will appear as half or entire non-working days. You can define a non-working day with the following duration :

  • Morning
  • Afternoon
  • Entire day

If no icon is displayed on a day, it means that it is a working day. Below an example where every week-end (saturday and sunday) is defined as non-working days:

  • List of employees

    Define the non-working days of a contract

You can click on any day on this calendar to create, update or delete this day as a non working day. If you click on any day of this calendar, a popup will appear and allow you to perform these operations:

  • Rename the title of the non-working day.
  • Change the duration (Morning, Afternoon or the Entire day).
  • Delete a non-working day. Note that the delete button will not appear if you click on a working day.
  • Edit a non-working day

    Edit a non-working day (delete button doesn't appear for working days)

You can define a series of non-working days by clicking on the "Series of non-working days" button. Let's imagine that you want to define every sunday of the year as a non-working day. You would click on the button and fill the pop-up as with this example:

  • Edit a series of non-working days

    Edit a series of non-working days

In order to delete a series of non-working days, open the pop-up, choose the period and select "As a Working day".

Calculation of the leave duration

If the non-working days are correctly defined on the contract of the connected employee, the duration of a leave request is automatically calaculated (provided that the start and end dates are entered):

  • Leave request: calculation of the leave duration

    Leave request: calculation of the leave duration

Please note that Jorani allows the employees to overwrite this value.

Special leave types

In some countries, special leave types such as maternity or paternity time off are calculated differently. Indeed, public holidays and non-business days (it depends on your company, but an example is saturday or sunday) are considered working days when calculating the duration of a leave request.

If you want to deduct all calendar days between the start and end dates of a leave request, please check the option Deduct non-working days when you create the leave type.

  • Deduct non working days

    Deduct non working days

Tags :    feature 

You may also like

Audit the leave requests of your employees

If you use LMS in order to prepare the payroll, as with a paper-based process, you need to regularly audit the leave requests of your employees.   Read »

How to request a leave?

How to create and submit your first leave request? How to send it to your line manager for approval?   Read »

How to manage ermployees?

The list of employees page allows HR officer and manager to manage the leave, overtime and entitled days of employees.   Read »

Login to Jorani application

Once your account has been created, you can login to the application. This article explains how to solve connection problems.   Read »

Activating Google analytics js tracking code

This article explains how to activate the Google analytics tracking code and to optionally trace the user ID.   Read »

comments powered by Disqus