Time not adjusting when not in Daylight Savings Time

Created on 4 February 2021, almost 4 years ago
Updated 24 February 2023, almost 2 years ago

Problem/Motivation

We have a site where the Add to Calendar button is an hour behind. It seems the time is not adjusting for DST? I am not 100% sure if this is just the site or if it is the module. We have no other date issues on the site.

I will be attaching a patch for anyone else who may have this issue. If you don't want to roll it into the module, that is fine as well.

πŸ› Bug report
Status

Needs review

Version

1.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States labboy0276

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States leisurman

    For anyone else having this Daylight savings time 1 hour ahead issue in Outlook. I am using Drupal core 9.4.8, Add to cal 8.x-2.0-beta4. The ics file imports into Outlook 1 hour ahead of time. I tried the patch #2, and composer could not apply it. Then I installed sabre/vobject
    composer require sabre/vobject "^4.0"
    The time offset was not correct at first. I did something else and I don't remember what I did and the time offset is correct now.

  • πŸ‡©πŸ‡ͺGermany quotientix

    Thanks so much for posting this @leisurman!
    Seems to work for me exactly like you described.

Production build 0.71.5 2024