Add to calendar link create unexpected times in calendar if site is UTC

Created on 31 July 2024, 5 months ago
Updated 14 October 2024, 2 months ago

Problem/Motivation

Sites installed automatically, including via drush (especially within a container e.g. DDEV) or via the new WASM installer, often have a site timezone of UTC. The add-to-calendar links currently include the timezone, so a site visitor sees a different time on the site than they see when the same event is added to their calendar (unless they use UTC as their normal timezone).

Proposed resolution

Ensure that if the site's timezone is UTC, the timezone will be omitted from datetime strings generated for output. This will be handled mainly in Provide option to omit timezone from output if UTC Active , but the configuration here will need to be updated afterwards.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇨🇦Canada mandclu

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

Comments & Activities

Production build 0.71.5 2024