Skip to content

issue with created date

Craig Smith requested to merge hotfix/model_save_created into master

DF_Model::save created timestamp issue

What I did

  • added a check to see if the created date was passed as a unix-timestamp to the save method & convert it to a time-string if so.

How to test

  • use a model to get a record,
  • modify record and use save (do not touch the created at any point)
  • created should not change.

Merge request reports