drudge/mongoose-timestamp

Doesn't support nested keys

zaggino opened this issue · 1 comments

Correct me if I'm wrong, but this doesn't work:

Schema.plugin(require('mongoose-timestamp'), {
  createdAt: 'created.at',
  updatedAt: 'updated.at'
});

Correct, this does not work. Pull requests are welcome!