Smart Date duration formatter error

Created on 25 August 2025, about 1 month ago

Problem/Motivation

Using "smartdate_duration" field formatter in display view mode gives:
InvalidArgumentException: "timezone" is an invalid render array key. Value should be an array but got a object.
Although "smartdate_duration" is deprecated, it probably should not deliver fatal error.

Steps to reproduce

Use a smart date field with smartdate_duration formatter on an entity view display and save the display.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

4.2

Component

Code

Created by

🇩🇪Germany stefan.korn Jossgrund

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