Difference between #2 and #3 of
Using International Dates

Changes

Title unchanged

Using International Dates

Category unchanged

How-tos

Yii version unchanged

Tags unchanged

i18n, date, validation rules

Content changed

[...]
'yyyy-MM-dd'
),
'short',null
);
}
elseif ($column->dbType == 'datetime'
 || $column->dbType == 'timestamp')
{
$this->$columnName = Yii::app()->dateFormatter->formatDateTime(
[...]
}
}
return
trueparent::afterFind();
}
[...]
```php
Yii::app()->setLanguage($lang);
```

 
15 0
24 followers
Viewed: 49 863 times
Version: 1.1
Category: How-tos
Written by: Russell England
Last updated by: nkd
Created on: Apr 28, 2011
Last updated: 12 years ago
Update Article

Revisions

View all history