In the custom form of editing the material, you must change the date of creation of the material. The field is displayed using:

echo $this->form->renderField('created'); 

But the specified date does not apply. When creating, the current date is inserted by the automatic machine, and when editing, the real date is displayed in the field, changing it and saving the material, it also remains. Please tell me where and what is not taken into account, what to look for? All other fields work without complaints.

    1 answer 1

    in the file /components/com_content/models/forms/article.xml change

     <field id = "created" name = "created" ... /> 

    on

     <field id = "created" name = "created" type = "calendar" label = "JGLOBAL_FIELD_CREATED_LABEL" description = "JGLOBAL_FIELD_CREATED_DESC" class = "inputbox" format = "" filter = "user_utc" />