vizo/mongoose-timestamp — pull request #1 by vizo (2013-04-23 00:53:41+00:00)
Title: Update index.js

1. For users like me who define _id of doc before it's saved for the first time. (Old code didn't create field createdAt if doc had already _id)
2. For existing doc adds createdAt field automatically when doc is saved.