Date range field returns wrong end date

Created on 21 May 2024, 7 months ago
Updated 27 May 2024, 7 months ago

Problem/Motivation

When querying the start date and end date of a date range field, the value of the start date is returned for both.

Steps to reproduce

query DateQuery {
  entityByUuid(
    entityType: MYTYPE
    uuid: "e58a3765-f0e7-47a4-bcd8-7d38c1de2c4f"
  ) {
    ... on MyBundle {
      date {
        startDate(drupalDateFormat: SHORT)
        endDate(drupalDateFormat: SHORT)
      }
    }
  }
}

Proposed resolution

Return the value of the end date for the end date property.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇧🇬Bulgaria pfrenssen Sofia

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