Issue Bug Closed

#106328Date for input type "datetime" cannot be fomatted

Michael Perlbach 03/07/25, 02:03 updated 03/07/25, 08:28

Description

I am using a datepicker in a custom content element which has the following TCA configuration.

        'mydate' => [
            'label' => 'mydate',
            'config' => [
                'type' => 'datetime',
        'format' => 'date',
                'required' => true,
            ],
        ],

The date picker displays dates in the form ‘mm-dd-yyyy’ which my German customers find irritating. they would prefer ‘dd.mm. yyyy’.
Is there a possibility do configure the date format? I did not find any documentation for this. And if not so: why?

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.