issue with created date

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

Loading