[opencms-dev] Default value for OpenCmsDateTime

Atle Enersen atle.enersen at gmail.com
Fri Apr 4 13:34:59 CEST 2025


Hello.

I cannont find how to get current time set automatically  in a OpenCmsDateTime-field. This is the current setting:

<xsd:element name="DatePublish" type="OpenCmsDateTime" />

                <Setting>
                    <PropertyName>DatePublish</PropertyName>
                    <Widget>datetime</Widget>
                    <WidgetConfig><![CDATA[calendar,time,default=now]]></WidgetConfig>
                </Setting>

On OpenCms 19. All help are welcome 😊

Best regards, Atle Enersen.
--
Telefon: +47 48 06 31 71

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20250404/dcf3ce62/attachment.htm>


More information about the opencms-dev mailing list