Provide option to omit timezone from output if UTC

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

Problem/motivation

UTC ends up as a default timezone for sites installed in a variety of ways, including via drush or using the current state of the WASM Drupal launcher intended for Starshot. In many cases this may not be the timezone the site is intended to serve, so generating calendar links that explicitly set this timezone could lead to unexpected results, where the time that ends up in the calendar doesn't match what is in the site.

Proposed resolution

Add a configuration to ignore a site timezone of UTC. Enable this by default, and if enabled omit the timezone from the output if it is a site timezone of UTC. This may require some refactoring, for example to ensure the logic is able to properly handle a NULL value for the timezone.

Feature request
Status

Active

Version

1.2

Component

Code

Created by

🇨🇦Canada mandclu

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