silverstripe/sapphire — pull request #921 by TheFrozenFire (2012-11-03 03:09:29+00:00)
Title: BUG: DataObject::write overwrites Created on first write

DataObject::write currently ignores (and overwrites) the Created field if it's set before the first write of the DataObject to the database. This patch fixes it so that the Created field is used in place of "now", if it's set and non-empty.