CMS MADE SIMPLE FORGE

Extended Content Blocks 2

 

[#12788] parameter date_format of field=date_time_picker seems to have no effect

avatar
Created By: Ludger Merkens (lume)
Date Submitted: Mon Jun 16 09:36:47 -0400 2025

Assigned To: CMS Made Simple Foundation (cmsmsfoundation)
Version: v2.4.2
CMSMS Version: 2.2.21
Severity: Minor
Resolution: None
State: Open
Summary:
parameter date_format of field=date_time_picker seems to have no effect
Detailed Description:
I tried to pass a date_format to the date_time_picker field like so:
{content_module module=ECB2 field=date_time_picker date_format="dd.mm.YY"
block='test8' label='Date Time Picker'}

This would allow german users to read the date in the format they are used to.
But to no effect. I also tried php DateTimeInterface::format syntax "%d.%m.%Y"

Its probably just a matter of missing documentation? Which exact syntax does
this parameter expect?

best
Ludger Merkens


History