joomla-cms icon indicating copy to clipboard operation
joomla-cms copied to clipboard

A warning is issued when using CalendarField

Open rigin opened this issue 1 year ago • 2 comments

Steps to reproduce the issue

<field
			id="created"
			name="created"
			type="calendar"
			required="false"
			label="JGLOBAL_CREATED_DATE"
			description="JGLOBAL_CREATED_DATE_DESC"
			class="inputbox"
			size="16"
			format="%Y-%m-%d %H:%M:%S"
            />

Expected result

Output of the Calendar field

Actual result

Output of the Calendar field At the same time, a warning is issued. Deprecated: Function strftime() is deprecated in ****/public_html/libraries/src/Form/Field/CalendarField.php on line 323

System information (as much as possible)

Additional comments

rigin avatar Aug 18 '24 17:08 rigin

See here: https://github.com/joomla/joomla-cms/issues/42790

chmst avatar Aug 18 '24 17:08 chmst

The documentation needs updating with that information

brianteeman avatar Aug 18 '24 17:08 brianteeman

Please test PR #44114.

Quy avatar Sep 18 '24 22:09 Quy