Views do not respect "Date format" setting in a "REST Export" display

Created on 2 February 2024, 5 months ago
Updated 5 February 2024, 5 months ago

Problem/Motivation

I need to set a custom "Date format" for a field in a "REST export" display in a view.

Steps to reproduce

  1. Create a view with a "REST export" display.
  2. Use "Show: Fields"
  3. Add a date field, like "Content: changed"
  4. Configure the field with "Date Format: Custom" and any "Custom date format"
  5. Preview the view. Observe that the custom date format is ignored.
  6. Do the same with a "Page" display.
  7. Observe that the custom date format is not ignored on the page.

Or you can simply import the export views config I have attached.

Proposed resolution

The "REST export" display should respect the date format.

Merge request link

None yet.

Remaining tasks

TODO

User interface changes

None.

API changes

None.

Data model changes

None.

Release notes snippet

TODO

🐛 Bug report
Status

Active

Version

10.2

Component
Views 

Last updated less than a minute ago

Created by

🇿🇦South Africa rudolfbyker South Africa

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

Comments & Activities

Production build 0.69.0 2024