All Day Events span over several days in Outlook and iCal

Created on 24 June 2024, about 1 year ago
Updated 15 August 2024, 11 months ago

Problem/motivation

In conjuction with Smart Dates, when a user creates an event and selects the "All Day" checkbox, events added to Outlook and iCal span over 1.5 days. The initial find is in the EST timezone. If the date entered was November 9, 12a - 11:59pm, then the date will be imported beginning at 12a November 9 and ending at 11:59pm November 10.

If someone is located in a different timezone, ex: PST, then the dates span over 2+ days. If the all day event was on June 26, it'll begin on 9pm on June 25 and end at 8:59pm on June 27.

Steps to reproduce

  1. On a drupal content type, confirm that smart date is avaiable as a field
  2. When adding a new event day, select the calendar day and then check "All Day" so the event goes from 12a - 11:59pm
  3. On the display page, click on either iCal or Outlook link to add to calendar
  4. Confirm that the event begins on the day selected and end at 11:59pm one day later

Proposed resolution

The timezone appears to be affecting how all day events are added to Outlook and iCal. There needs to be a way to pass the required parameters without modifying the all day event so that the event begins and ends within the same day.

This module uses Gitlab CI for automated testing of proposed code changes. To contribute code changes, create a merge request. Patch files will not trigger automated testing and are not sufficient for review.
πŸ› Bug report
Status

Fixed

Version

1.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States ladytekla

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024