Permalink
Browse files

Updated modified to also have a default value

  • Loading branch information...
spatical committed May 8, 2012
1 parent 9988e0e commit 2e8ecfd73c3181b4146b6ca2d208e1010df2c4af
Showing with 2 additions and 1 deletion.
  1. +2 −1 index.js
View
@@ -7,7 +7,8 @@ module.exports = exports = function createdModifiedPlugin (schema, options) {
type: Date,
'default': Date.now
}, modified: {
- type: Date
+ type: Date,
+ 'default': Date.now
}
});

0 comments on commit 2e8ecfd

Please sign in to comment.