> ## Documentation Index
> Fetch the complete documentation index at: https://docs.spockoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Public Holidays

> Configure and manage public holiday calendars for your organization across different countries and regions.

Public Holidays are government-approved days that an organization provides for its employees as a day off from work. Holidays act as **non-working days**. When you request leave and there is a holiday between the start and end dates, this day is not counted to your leave.

If your team is multinational or geographically spread across more countries you would need to manage holidays for all these groups. Spock offers **Holiday Calendars** to solve this issue. You can easily create multiple holiday calendars and assign them to a specific group of employees.

<Note>
  See the full list of [Supported Countries](/spock/leave-management/supported-countries) for automatic holiday import.
</Note>

## In this article

* [How to Create a Holiday Calendar](#how-to-create-a-holiday-calendar)
* [How to Import Holidays](#import-holidays)
* [How to Add Holidays Manually](#how-to-enter-holidays-manually)
* [How to Set Holiday Calendar as Primary](#how-to-set-primary-holiday-calendar-the-default-calendar)
* [How to Delete Holiday Calendar](#how-to-delete-holiday-calendar)
* [How to Assign Members to Calendar in Bulk](#how-to-assign-members-to-calendar-in-bulk)
* [How to Assign Holiday Calendar to User](#how-to-assign-holiday-calendar-to-user)

You can manage Holidays in **Dashboard** > **Settings** > **Holidays**

Link: [Open Settings in Dashboard](https://spockoffice.com/spockapp/settings/holiday-calendars/)

## Holiday Calendars

Holiday Calendar represents a list of holidays. You can have multiple holiday calendars, but one has to be **primary** (default calendar).

## How to create a Holiday Calendar

<Steps>
  <Step title="Go to Settings">
    Navigate to **Settings** > **Holidays**
  </Step>

  <Step title="View Holiday Calendars">
    There is a list of all Holiday Calendars
  </Step>

  <Step title="Add Holiday Calendar">
    Click **Add Holiday Calendar**

    <img src="https://mintcdn.com/ideoworks/CI4Nfz7UNxpeNt0q/images/dashboard-settings-holiday-calendar-list.png?fit=max&auto=format&n=CI4Nfz7UNxpeNt0q&q=85&s=7f9831d076f3a3d186e62307da7af518" alt="Holiday Calendar Add" height="300" className="rounded-lg" data-path="images/dashboard-settings-holiday-calendar-list.png" />
  </Step>

  <Step title="Enter Calendar Title">
    Enter **Calendar Title** and submit the form

    <img src="https://mintcdn.com/ideoworks/CI4Nfz7UNxpeNt0q/images/dashboard-settings-holiday-calendar-title.png?fit=max&auto=format&n=CI4Nfz7UNxpeNt0q&q=85&s=1f4cf3584c7709349730bba2d6cb27d7" alt="Holiday Calendar Title" height="300" className="rounded-lg" data-path="images/dashboard-settings-holiday-calendar-title.png" />
  </Step>

  <Step title="Calendar Created">
    Holiday Calendar was created
  </Step>
</Steps>

## How to add holidays to the holiday calendar

You can either manually enter holidays manually or import holidays for a specific country.

### Import holidays

<Steps>
  <Step title="Select Holiday Calendar">
    Select the Holiday Calendar you want to add holidays to
  </Step>

  <Step title="Click Import Holidays Button">
    <img src="https://mintcdn.com/ideoworks/CI4Nfz7UNxpeNt0q/images/dashboard-settings-holiday-calendar-import-holidays-button.png?fit=max&auto=format&n=CI4Nfz7UNxpeNt0q&q=85&s=f1fb636f40cc7d010669f61219d1a16f" alt="Holiday Calendar Import Holidays Button" height="300" className="rounded-lg" data-path="images/dashboard-settings-holiday-calendar-import-holidays-button.png" />
  </Step>

  <Step title="Select Country">
    <img src="https://mintcdn.com/ideoworks/CI4Nfz7UNxpeNt0q/images/dashboard-settings-holiday-calendar-import-holidays-country.png?fit=max&auto=format&n=CI4Nfz7UNxpeNt0q&q=85&s=9cc8c02c59000a40c901a0df336ce93c" alt="Holiday Calendar Import Holidays Country" height="300" className="rounded-lg" data-path="images/dashboard-settings-holiday-calendar-import-holidays-country.png" />
  </Step>

  <Step title="Select Year" />

  <Step title="Click Import Holidays Button" />

  <Step title="Complete">
    Holidays for specific country and year are imported
  </Step>
</Steps>

## How to Enter holidays manually

<Steps>
  <Step title="Select Holiday Calendar">
    Select the Holiday Calendar you want to add holidays to
  </Step>

  <Step title="Click New Holiday Button">
    <img src="https://mintcdn.com/ideoworks/CI4Nfz7UNxpeNt0q/images/dashboard-settings-holiday-calendar-new-holiday-button.png?fit=max&auto=format&n=CI4Nfz7UNxpeNt0q&q=85&s=79e7b92156d8802b038a0e82e065ce5b" alt="Holiday Calendar New Holiday Button" height="300" className="rounded-lg" data-path="images/dashboard-settings-holiday-calendar-new-holiday-button.png" />
  </Step>

  <Step title="Enter Holiday Name">
    <img src="https://mintcdn.com/ideoworks/CI4Nfz7UNxpeNt0q/images/dashboard-settings-holiday-calendar-new-holiday-name.png?fit=max&auto=format&n=CI4Nfz7UNxpeNt0q&q=85&s=406186975470a8befb95b6b7ea2482a2" alt="Holiday Calendar New Holiday Name" height="300" className="rounded-lg" data-path="images/dashboard-settings-holiday-calendar-new-holiday-name.png" />
  </Step>

  <Step title="Select Holiday Date" />

  <Step title="Save">
    Click **Save**
  </Step>

  <Step title="Repeat">
    Repeat until all holidays are entered
  </Step>
</Steps>

<Note>
  You can anytime change the name of the holiday or delete it from the holiday calendar. If you want to **change the date** of the holiday, you have to delete it first and then create a new one.
</Note>

## How to set primary holiday calendar (the default calendar)

One holiday calendar has to be Default Calendar. This calendar is used for all members who do not have been assigned to any holiday calendar.

To set holiday calendar as default:

<Steps>
  <Step title="Select Holiday Calendar">
    Select the Holiday Calendar you want to set as default
  </Step>

  <Step title="Set as Default">
    Click the **Set as Default Calendar** button

    <img src="https://mintcdn.com/ideoworks/CI4Nfz7UNxpeNt0q/images/dashboard-settings-holiday-calendar-set-as-default-calendar.png?fit=max&auto=format&n=CI4Nfz7UNxpeNt0q&q=85&s=0e8e2824334393f9b6dc7cf80e19d7cc" alt="Holiday Calendar Set as Default Calendar" height="300" className="rounded-lg" data-path="images/dashboard-settings-holiday-calendar-set-as-default-calendar.png" />
  </Step>

  <Step title="Complete">
    Holiday Calendar is now the primary calendar
  </Step>
</Steps>

## How to delete Holiday Calendar

If the holiday calendar is not in use anymore you can delete it.

<Steps>
  <Step title="Delete All Holidays">
    Click **Delete All Holidays** to delete holidays from the calendar

    <img src="https://mintcdn.com/ideoworks/CI4Nfz7UNxpeNt0q/images/dashboard-settings-holiday-calendar-delete-all-holidays.png?fit=max&auto=format&n=CI4Nfz7UNxpeNt0q&q=85&s=f618ae019e72883b58ca408b4017313a" alt="Holiday Calendar Delete All Holidays" height="300" className="rounded-lg" data-path="images/dashboard-settings-holiday-calendar-delete-all-holidays.png" />
  </Step>

  <Step title="Repeat for All Years">
    You can change the year in the top bar by selecting from the dropdown. Repeat until all holidays are deleted.
  </Step>

  <Step title="Edit Calendar">
    Then click **the Edit Calendar** button

    <img src="https://mintcdn.com/ideoworks/CI4Nfz7UNxpeNt0q/images/dashboard-settings-holiday-calendar-edit-calendar-button.png?fit=max&auto=format&n=CI4Nfz7UNxpeNt0q&q=85&s=ba683cd5034e8e8c009dcdf600e86bc1" alt="Holiday Calendar Edit Calendar Button" height="300" className="rounded-lg" data-path="images/dashboard-settings-holiday-calendar-edit-calendar-button.png" />
  </Step>

  <Step title="Delete Calendar">
    Click **Delete Holiday Calendar** and confirm to delete
  </Step>
</Steps>

<Warning>
  All the changes are **instantly propagated** in Spock and affect requesting leaves and displaying calendars.
</Warning>

## How to Assign Members to Calendar in Bulk

You can assign multiple members to a holiday calendar at once:

<Steps>
  <Step title="Select Holiday Calendar">
    Select the Holiday Calendar you want to assign members to
  </Step>

  <Step title="Click Assign Members Button">
    Click the **Assign Members to This Calendar** button

    <img src="https://mintcdn.com/ideoworks/CI4Nfz7UNxpeNt0q/images/dashboard-settings-holiday-calendar-assign-members-to-calendar-button.png?fit=max&auto=format&n=CI4Nfz7UNxpeNt0q&q=85&s=dabf737c30b1f61c6afdbbb407837146" alt="Holiday Calendar Assign Members to Calendar Button" height="300" className="rounded-lg" data-path="images/dashboard-settings-holiday-calendar-assign-members-to-calendar-button.png" />
  </Step>

  <Step title="Select Members">
    In modal dialog, select members to assign

    <img src="https://mintcdn.com/ideoworks/CI4Nfz7UNxpeNt0q/images/dashboard-settings-holiday-calendar-assign-members-to-calendar-modal-dialog.png?fit=max&auto=format&n=CI4Nfz7UNxpeNt0q&q=85&s=59bf3ec4387c11130f85811f99846f20" alt="Holiday Calendar Assign Members to Calendar Modal Dialog" height="300" className="rounded-lg" data-path="images/dashboard-settings-holiday-calendar-assign-members-to-calendar-modal-dialog.png" />
  </Step>

  <Step title="Save Assignments">
    Click **Save Assignments**
  </Step>
</Steps>

## How to Assign Holiday Calendar to User

You can assign any holiday calendar to user:

<Steps>
  <Step title="Go to Members">
    Navigate to **Members** section
  </Step>

  <Step title="Select Member">
    Select Member, you want to assign new Holiday Calendar
  </Step>

  <Step title="Click Holidays Tab">
    <img src="https://mintcdn.com/ideoworks/CI4Nfz7UNxpeNt0q/images/dashboard-members-holidays-tab.png?fit=max&auto=format&n=CI4Nfz7UNxpeNt0q&q=85&s=a71541388d3b20902e321089b9d4b588" alt="Dashboard Members Holidays Tab" height="300" className="rounded-lg" data-path="images/dashboard-members-holidays-tab.png" />
  </Step>

  <Step title="View Current Calendar">
    You see the current active calendar and list of holidays
  </Step>

  <Step title="Choose New Calendar">
    Choose a new Holiday Calendar from the dropdown

    <img src="https://mintcdn.com/ideoworks/CI4Nfz7UNxpeNt0q/images/dashboard-members-assign-holiday-calendar.png?fit=max&auto=format&n=CI4Nfz7UNxpeNt0q&q=85&s=e52135b801e0c2f45e5f89cd7230eec9" alt="Dashboard Members Assign Holiday Calendar" height="300" className="rounded-lg" data-path="images/dashboard-members-assign-holiday-calendar.png" />
  </Step>

  <Step title="Change Calendar">
    Click **Change Calendar**
  </Step>

  <Step title="Complete">
    The new holiday calendar is already active for given user
  </Step>
</Steps>
