Ah, I hadn't realised it's the automagic 'created' field.

The save() function in cake/libs/model/model_phpx.php  uses date() to
add the created and modified fields.

Changing these to gmtdate() would do the trick. However, I'm not sure
what the best practice method of doing this is.

1) You could change them in that file, but that will lead to problems
maintaining and upgrading cake.
2) I think you can copy that whole save() function into cake/app/
app_model.php and then change those lines.  This will override the
core save() function without changing the original.
3) The third and best method is a super clever way that's beyond me.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to