Show next open day returns wrong result

Created on 26 August 2024, 3 months ago
Updated 20 September 2024, 2 months ago

Problem/Motivation

We have a node type with a field for the opening hours per day.
In a view, we use the field to show whether we are open or closed. If closed, we show the next open day.

Until 8.x-1.16 it worked fine.
Since 8.x-1.17, the "next open day" is wrong. (the result, whether we are open or closed, is correct - the next open day is wrong).

F.ex. one location is open Monday and Thursday from 9 throu 12. Today is Monday, now we are closed, it returns "next open day is Monday". (instead it should be Thursday). It also returns "Monday" if I display the field in the node instead of the view.

Reverting back to 8.x-1.16 fixes the problem.

Steps to reproduce

Drupal 10.3.2
PHP 8.2

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

๐Ÿ› Bug report
Status

Fixed

Version

1.18

Component

Code - widget

Created by

๐Ÿ‡ฉ๐Ÿ‡ชGermany butch.coolidge Reutlingen

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

Comments & Activities

Production build 0.71.5 2024