# Delay in calendar change

The module adds the ability to specify a **delay in hours** on base calendar changes. This way, for a specific day, an annually recurring date or a weekday, you can indicate that activity is not suspended but only postponed by a given number of hours.

The delay is used when calculating the departure date/time of shipping lines that use the calendar.


1. Open the **Base Calendars** page and select the calendar.
2. Open the **Base Calendar Changes** of the calendar.
3. The list of changes shows the new **Delay (hours)** column.


| Field | Description |
|---|---|
| Delay (hours) | Number of hours of delay applied on the day defined by the change. When it is zero the field is shown blank and no delay is applied. |


1. In **Base Calendar Changes**, add a new line (or select an existing one).
2. Specify the **Recurring System** (none, annual or weekly) and the **Date** or **Day**, as for regular calendar changes.
3. Keep the day as a working day (do not select **Nonworking**).
4. Enter the number of hours in the **Delay (hours)** field.


- When the shipping date/time of a shipping line linked to the calendar is calculated, if the day found is a working day and the calendar change includes a delay, the line's departure time is postponed by the specified number of hours.
- To find the change that applies to a date, a non-recurring change for that date is considered first, then an annually recurring one (same day and month), and finally a weekly recurring one (same weekday).
- If the day is nonworking, the delay is ignored and the next working day is used.