Bug in CDateFormatter::formatDateTime() ???

I am calling

Yii::app()->dateFormatter->formatDateTime(intval($model->modified_on),'short','short')

with language set to de_DE. The returned date looks like this:

01.01.9

–> the year is missing the leading zero, even though the format is coded as    'short' => 'dd.MM.yy' in de_de.php.

Another question, why do I have to cast $model->modified_on to integer (This is an active-record field defined as numerical in rules() of the model) ? Why is this field returned as string even though it is defined as an integer?

Thanks. It's a bug that I just checked in the fix.

The new version 1.0.4 has fixed the other issue you mentioned.