moko-timestamps
Adds timestamp fields to a model and updates them on save and create. By default
the fields are createdAt
and updatedAt
but they can be specified when using.
Example
var timestamps = ; var User = ;User; var user = ; userconsole // Some dateconsole // Some date // Or with custom Attributes defined:User;var user = ; userconsole // Some dateconsole // Some date