Problem/Motivation

With an XML source where the date is not easily parsed by strtotime(), it should be possible for site builders to specify the date format to use for parsing, or at the very least support alternative date formats.

Steps to reproduce

Have an XML source where the date value is in a UK date format such as 30/06/2025 23:59:00, it should be possible for the site admin to specify the default format to parse, or at the very least support that format.

Proposed resolution

Provide support for alternative forms of dates.

Remaining tasks

Provide issue fork/patch.

User interface changes

N/A

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

codebymikey created an issue. See original summary.

codebymikey’s picture

Issue summary: View changes
Status: Active » Needs review

  • codebymikey committed 23ea7fb5 on 8.x-1.x
    Issue #3529178: XML Date: Add support for custom date formats
    
codebymikey’s picture

Status: Needs review » Fixed

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.