Provide a format_date_multiple plugin to allow multiple from date formats

Created on 30 August 2021, almost 4 years ago
Updated 8 July 2025, 4 days ago

Problem/Motivation

The existing format_date plugin in core only allows one from format. I've seen on some occasions source data using a combination of j/n/Y and d/m/Y formats, and the existing plugin doesn't like that.

Steps to reproduce

Use the j/n/Y from format with a date like 31/08/2021.

Proposed resolution

Allow passing multiple formats, e.g. j/n/Y and d/m/Y.

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Needs work

Version

5.0

Component

Plugins

Created by

🇦🇺Australia mstrelan

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