Error in DateRangeTimezone widget when default value is empty

Created on 9 September 2022, almost 2 years ago
Updated 12 April 2023, about 1 year ago

Problem/Motivation

Error when trying to create a node.

Steps to reproduce

* Create a content type
* Add a date field using the datetime range timezone module.
* Field is not required.
* Set the end date as none instead of Current Date.
* Try to create a new node.

I can create a new node and leave the field empty.

Error

Proposed resolution

Check for null and avoid setting a timezone if date is not set.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡¨πŸ‡·Costa Rica alemadlei

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.69.0 2024