Exemple #1
0
 public function afterSave()
 {
     $this->date = date(Yii::app()->locale->getDateFormat('phpshort'), strtotime($this->date));
     return parent::afterSave();
 }