# Calendar

> Your Leantime calendar: events, due to-dos and planned work in one place. Connect Google, Outlook or Apple calendars and subscribe to Leantime from them.

Source: https://docs.leantime.io/using-leantime/calendars/

My Calendar shows your own events and your to-dos from every project in one place: when each one is due, and when you've planned to work on it. You can bring in your Google, Outlook or Apple calendar, and subscribe to your Leantime calendar from those apps.

![Leantime's calendar in month view: events, to-do due dates, a planned day and an all-day event, with Connect Calendar on the left](https://docs.leantime.io/_images/using-leantime/leantime-calendar-month-view.webp)

## How do I open my calendar?

Click **My Work** at the top, then **Calendar** in the left menu. Everyone has their own calendar; nobody else sees your events.

Two other places show a calendar:

- **The Calendar widget on My Work** is for planning your day: drag a to-do onto it to block time for it (see [How do I plan my day with the Calendar widget?](https://docs.leantime.io/using-leantime/my-work-dashboard/#how-do-i-plan-my-day-with-the-calendar-widget)).
- **A project's milestones** have a **Calendar** tab next to **Timeline** and **Table** (see [Milestones](https://docs.leantime.io/using-leantime/roadmap-planning/)). It shows that project's milestones, not your personal events.

## What's on my calendar?

| What | How it looks |
| --- | --- |
| **Your events** | Your own events, in the color shown next to **Events** in the left panel |
| **To-dos with a due date** | "❕ Due To-Do:" with the to-do and its status, on its due date |
| **Planned work** | "Planned Edit:" across the to-do's **Work Start** and **Work End** times. When neither has a time, it shows as an all-day "Planned:" item instead (Leantime 3.17 and later) |
| **Connected calendars** | Each in the color you chose for it |

To-dos show when you're assigned to them or a collaborator on them, in every project, done ones included. Their border has the color of their status. Click a to-do to open it.

## Why do some to-dos show as "Planned:"?

From Leantime 3.17, a to-do whose **Work Start** has a date but no time shows as an all-day item, "Planned:" and the to-do's name. It marks a day you chose to work on it. Which days it covers depends on **Work End**:

- **No Work End, or the same date:** the **Work Start** day.
- **A later date without a time:** every day from **Work Start** up to the day before **Work End**.
- **A Work End with a time:** it isn't a planned day. It shows as "Planned Edit:" until that time.

A "Planned:" item shows on My Calendar, in the calendar on your My Work dashboard, and in your [calendar subscription](#how-do-i-see-my-leantime-calendar-in-google-outlook-or-apple-calendar). Dragging it to another day keeps it an all-day item.

To hide these all-day items:

1. **Open My Calendar, then Calendar Settings** in the left panel.
2. **Under Planned days, clear Show planned days on my calendar.**
3. **Click Save.**

This only hides "Planned:" items. "Planned Edit:" items, with a set time on **Work Start** or **Work End**, always show.

## How do I add an event?

1. **Click Add Event** at the top of the calendar.
2. **Enter a Title.**
3. **Choose the Start Date and Start Time, then the End Date and End Time.** For something that takes the whole day, switch on **All Day Event** instead of setting times.
4. **Click Save.**

![The Event dialog: title, start and end date and time, the All Day Event switch, and Save](https://docs.leantime.io/_images/using-leantime/leantime-calendar-add-event.webp)

An event has a title and a time, and that's all: there's no description, location, guest list or repeat. For meetings with other people, use the calendar you already invite them from, and [connect it](#how-do-i-see-my-google-outlook-or-apple-calendar-in-leantime) so they show here too.

## How do I change or move something on the calendar?

- **Change or delete an event:** click it, change the details and click **Save**, or click **Delete**.
- **Move an event:** drag it to another day or time. Drag its bottom edge to make it longer or shorter.
- **Move a due date:** drag a **Due To-Do** to another day. This changes the to-do's due date.
- **Move planned work:** drag a **Planned Edit**. This changes the to-do's **Work Start** and **Work End**.

Events from connected calendars can't be moved here; change them in their own calendar.

## How do I plan time for a to-do?

Give it a **Work Start** and **Work End** on the to-do, or drag it from **My ToDos** onto the Calendar widget on [My Work](https://docs.leantime.io/using-leantime/my-work-dashboard/). Either way it shows on your calendar as a **Planned Edit** block, and you can drag the block to another time. Working in fixed blocks like this is called [time boxing](https://docs.leantime.io/knowledge-base/timeboxing/).

![The calendar in week view: a planned work block on Monday, a team check-in on Tuesday and an all-day event on Thursday](https://docs.leantime.io/_images/using-leantime/leantime-calendar-week-view.webp)

## How do I see my Google, Outlook or Apple calendar in Leantime?

Connect it with its iCal link, so your meetings show next to your to-dos.

1. **Copy your calendar's iCal link:**
   - **Google Calendar:** open **Settings**, choose the calendar under **Settings for my calendars**, and copy **Secret address in iCal format**.
   - **Outlook:** in Outlook on the web, open **Settings → Calendar → Shared calendars**, publish the calendar under **Publish a calendar**, and copy the **ICS** link.
   - **Apple Calendar (iCloud):** share the calendar as a **Public Calendar** and copy its link. A `webcal://` link works too.
2. **In Leantime, click Connect Calendar** in the left panel of My Calendar.
3. **Fill in a Calendar Name, paste the iCal URL, and pick a Color.**
4. **Click Import.**

![The Connect a Calendar dialog: an iCal (ICS) URL with a name and color, and the Import button](https://docs.leantime.io/_images/using-leantime/leantime-calendar-ical-import.webp)

The calendar appears in the left panel with its color. Leantime reads it again every 30 minutes or so, and only shows it: change its events in their own app.

To rename a connected calendar, change its link or color, or remove it, use the **…** menu next to it, or **Calendar Settings** in the left panel.

## How do I see my Leantime calendar in Google, Outlook or Apple Calendar?

1. **Click Export** at the top of My Calendar. The **Integrate Calendar** dialog opens.
2. **Click Generate iCal URL** and copy the address that appears.
3. **Add it to your calendar app as a subscription:**
   - **Google Calendar:** next to **Other calendars**, click **+**, then **From URL**.
   - **Outlook:** **Add calendar → Subscribe from web**.
   - **Apple Calendar:** **File → New Calendar Subscription**.

![The Integrate Calendar dialog: your calendar's iCal URL, Generate iCal URL, and Remove Calendar Access](https://docs.leantime.io/_images/using-leantime/leantime-calendar-ical-export.webp)

The subscription has your events, your due to-dos (with a reminder 30 minutes before) and your planned work (with a reminder 5 minutes before). Calendars you connected from elsewhere aren't included. Calendar apps check subscriptions on their own schedule, so changes can take a few hours to show up in Google Calendar.

**Keep the address private:** anyone who has it can see your calendar, without signing in. If it got out, click **Generate iCal URL** again: the new address replaces the old one, which stops working. **Remove Calendar Access** turns the address off completely.

## How do I see Leantime in my calendar app (with CalDAV)?

The iCal subscription above is read-only. With the free [CalDAV Calendar Sync](https://docs.leantime.io/plugins/caldav/) plugin, your calendar app connects to Leantime as a calendar account, and you can add, change and delete Leantime events from the app too. It works with Apple Calendar (Mac, iPhone, iPad), Thunderbird, DAVx5 on Android and Evolution.

1. **Open My Calendar, then Calendar Settings** in the left panel. Under **CalDAV Integration** you see the address to use, ending in `/caldav/server/`.
2. **Create an app password:** click **CalDAV Accounts**, then **App passwords**. Under **What is it for?**, name the app (for example "iPhone") and click **Create app password**. Copy the password right away: it's shown only once.
3. **Add a CalDAV account in your calendar app,** with:
   - **Server:** the address from step 1;
   - **Username:** your Leantime email address;
   - **Password:** the app password.

   On an iPhone, for example: **Add Account → Other → Add CalDAV Account**. In Thunderbird: **New Calendar → On the Network**.

Your calendar app shows your Leantime events, which you can change there, and your due to-dos and planned work, which are read-only. Without two-factor authentication or single sign-on, your Leantime password also works, but an app password is safer: you can revoke one app without changing your password.

## How do I sync with Nextcloud or another calendar server?

With the [CalDAV Calendar Sync](https://docs.leantime.io/plugins/caldav/) plugin, Leantime syncs your events both ways with Nextcloud, ownCloud, Baikal, Radicale or another CalDAV server.

1. **Open My Calendar, then Calendar Settings,** and click **CalDAV Accounts**.
2. **Click Add CalDAV Account** and fill in:
   - **Name:** for you, like "My Nextcloud";
   - **Server URL:** your server's address, like `https://cloud.example.com`;
   - **Calendar URL:** the full address of the calendar on that server. In Nextcloud, open the calendar's **…** menu and copy its private link;
   - **Username** and **Password:** your account on that server. If you use two-factor authentication there, use an app password from that server.
3. **Leave Enabled and Verify SSL Certificate on,** and click **Connect**.

Changes you make in Leantime go out right away, and Leantime checks the server for changes every 15 minutes. Events deleted on the server disappear from Leantime on the next check. Repeating events come in as every occurrence from 60 days back to a year ahead. You can connect several servers; each keeps its own settings.

## Which views can I use?

Choose **Day**, **Week**, **Month** or **Year** in the menu at the top. **today** jumps back to the current date, and the arrows move back and forward. Leantime remembers the view you used last.

Times show in the time zone in your profile (**My Profile → Settings → Timezone**), not your computer's.

## Who can use the calendar?

Everyone has a calendar and sees their own to-dos on it. Adding events and connecting calendars needs the Editor role or higher. Your events and connected calendars are yours only: other people don't see them, not even in shared projects.

## What if something goes wrong?

- **A connected calendar shows no events:** the link has to be an iCal (`.ics`) address. Open it in your browser: it should download a file, not show a sign-in page. For Google, use the **Secret address in iCal format**, not the public or embed link. After you fix the link, events can take up to 30 minutes to appear.
- **My calendar app stopped updating:** someone clicked **Generate iCal URL** again, which replaced the old address. Subscribe again with the new one.
- **Events are at the wrong time:** check **Timezone** under **My Profile → Settings**.
- **A to-do isn't on my calendar:** it needs a due date or a **Work Start**, and you need to be assigned to it or a collaborator on it.

## Related

- [My Work Dashboard](https://docs.leantime.io/using-leantime/my-work-dashboard/)
- [To-Dos](https://docs.leantime.io/using-leantime/task-management/)
- [Milestones](https://docs.leantime.io/using-leantime/roadmap-planning/)
- [Notifications](https://docs.leantime.io/using-leantime/notifications/)