Skip to content

Instantly share code, notes, and snippets.

@cakephp-tutorial
Created February 26, 2016 23:31
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save cakephp-tutorial/0c2f747410d1c9570049 to your computer and use it in GitHub Desktop.
<?php
class AppModel extends Model {
public $actsAs = array(
'Autodate.Autodate' => array('dateformat' => 'd/m/Y')
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment