Add formatting for All Day events

Created on 24 February 2021, almost 4 years ago
Updated 2 April 2024, 9 months ago

Problem/Motivation

All day events are defined as 00:00:00 - 23:59:59 and shouldn't omit the time when displayed

Steps to reproduce

- Create a core date range field
- Set the start time to 00:00:00 and end time to 23:59:59, or use the field widget from https://www.drupal.org/project/date_all_day

Proposed resolution

Add a formatter to remove the time when an all day event is detected, and render dates spanning multiple days use the date only range formatter

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Needs review

Version

2.1

Component

Code

Created by

🇬🇧United Kingdom justafish London, UK

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.

Production build 0.71.5 2024