use yii formatter for datetime