If the end date is optional, the start date is no displayed

Created on 22 August 2024, 4 months ago
Updated 23 August 2024, 4 months ago

Problem/Motivation

I have a date field for which the end date is optional. For this, I use the Optional end date β†’ module.
When there is no end date, the start date is not displayed. When the both date are completed, there is no problem : the dates are displayed.

Steps to reproduce

  • Install the Optional end date β†’ module.
  • Add a "range date" field on a node entity for which the end date is optional.
  • Add a new node and complete it without the end date.
  • Save it.
  • View the node created and notice that the date is not displayed.

Proposed resolution

See the patch attached.

πŸ› Bug report
Status

Closed: duplicate

Version

2.1

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium detroz

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

Comments & Activities

  • Issue created by @detroz
  • Status changed to Closed: duplicate 4 months ago
  • πŸ‡ΈπŸ‡ͺSweden erik.erskine

    Closing this as it's a duplicate of #2970628, and there's a fix there.

    @detroz - thanks for the contribution. I've credited you on the other issue.

Production build 0.71.5 2024