Hide Times and Fix All-Day Dates in SharePoint Calendar Views
Question details
Display leave requests across the intended date range in a SharePoint calendar and hide event times.

- Product
- SharePoint Calendar and Power Automate
- Device & OS
- not provided
- Scenario
- A Power Automate flow creates calendar events from date-only leave requests.
- Observed behavior
- Events may appear as midnight-to-midnight entries or show only the start date instead of the full leave range.
Check whether the calendar uses a classic or modern SharePoint experience, and identify the start, end, and all-day fields used by the flow. You may need permission to edit the flow and classic calendar page.
Correct the All-Day Event Fields in Power Automate
Use this solution when a leave request does not span every intended day in the calendar.
Open the flow in Power Automate and edit the SharePoint action that creates or updates the calendar item.
In the SharePoint action, map the leave request's first and last dates to the calendar's start and end fields. Set the all-day event field when it is available.
Review how the action stores all-day end dates. If it uses an exclusive end boundary, use an expression such as addDays to set the boundary to the day after the final leave date; otherwise, use the inclusive final date.
Save the flow, submit a test request covering multiple days, and open the SharePoint calendar view. Confirm that the event includes the final requested day and check the flow and site time zones if the dates shift.

Hide Event Times on a Classic SharePoint Calendar Page
Use CSS when you want to hide times for every event on a classic calendar page.
Manage Leave Records in WPS Office
WPS Office is a free, lightweight alternative for working with leave-request documents and spreadsheets. Its familiar interface and Microsoft Office format support make it easy to move existing files, though it does not fix SharePoint calendar settings.

Frequently Asked Questions
Why does my leave event show only its start date?
The flow may be mapping the wrong end field or using an end value that does not cover the full range. Open the SharePoint action in Power Automate, check the start and end mappings, and test a multi-day request.
Does the CSS rule hide only midnight times?
No. The rule .ms-acal-time { display: none; } hides times for every event it affects. Hiding only selected midnight values requires more targeted client-side scripting.
Can I use the same CSS in a modern SharePoint calendar?
Modern SharePoint experiences may not support the same page-level CSS customization. Check the available settings and supported customization options for your site before applying the classic workaround.
Should I always add one day to the leave end date?
No. Add a day only if the action or calendar uses an exclusive end boundary for all-day events. Test a multi-day request in the calendar to confirm the final requested day appears.




