public static function beautifyDate($dateField, $format = 'yyyy-MM-dd HH:mm') { return Yii::app()->getDateFormatter()->format($format, $dateField); }