Permalink
Browse files

[resource] ctime and mtime are numbers

  • Loading branch information...
1 parent afe8741 commit 0e77ffb0dcfa10aaec36d1cb9816a14db148774d @indutny indutny committed Oct 7, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/resourceful/resource.js
@@ -446,8 +446,8 @@ Resource.property = function (name, typeOrSchema, schema) {
};
Resource.timestamps = function () {
this._timestamps = true;
- this.property('ctime');
- this.property('mtime');
+ this.property('ctime', 'number');
+ this.property('mtime', 'number');
};
Resource.define = function (schema) {

0 comments on commit 0e77ffb

Please sign in to comment.