Show "all day" field formatter setting not working correctly

Created on 31 March 2022, over 2 years ago
Updated 14 September 2023, over 1 year ago

Problem/Motivation

Enabling the 'Show "All Day" instead of midnight' field formatter setting breaks the display of start/end times for non all-day date values.

This definitely affects Smart Date fields but it seems other Date fields may be affected as well.

Steps to reproduce

  1. Add a smart date field to an event content type
  2. Configure the field to use AP Style field formatter with the "Show 'All Day' instead of midnight" field formatter setting enabled
  3. Create an event with a start and end time (do not check "All Day")
  4. View event and see no start/end times displayed.

Proposed resolution

Fix the condition block that hides the time when the "all day" field formatter setting is enabled.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States trackleft2 Tucson, AZ πŸ‡ΊπŸ‡Έ

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