formatDateTime() return Now date.

Hi!

I try to view date/time of post.

<?php echo Yii::t("Post","By"); echo ' '. $post->author->username . ' '. Yii::t("Post", "at") .' ' . Yii::app()->getDateFormatter()->formatDateTime($post->createTime, 'long', 'short'); ?>

But formatDateTime() always return only date at now.

PS: strtotime($post->createTime) not helped  :(

what's wrong? help please…

Correctly works after type-casting:

Yii::app()->getDateFormatter()->formatDateTime((integer)$post->createTime, 'long', 'short')

This has been fixed in SVN. Thanks.