Transform post time into a date

This commit is contained in:
Toby Zerner 2015-05-14 22:31:44 +09:30
parent bb04d91b08
commit be6b620457

View File

@ -7,7 +7,7 @@ Post.prototype.id = Model.prop('id');
Post.prototype.number = Model.prop('number');
Post.prototype.discussion = Model.one('discussion');
Post.prototype.time = Model.prop('time');
Post.prototype.time = Model.prop('time', Model.date);
Post.prototype.user = Model.one('user');
Post.prototype.contentType = Model.prop('contentType');
Post.prototype.content = Model.prop('content');