Comparing version 0.6.0 to 0.6.1
@@ -254,3 +254,3 @@ /** | ||
let timestamp = Math.round(new Date().getTime() / 1000); | ||
let timestamp = new Date().getTime(); | ||
this.set({ | ||
@@ -275,3 +275,3 @@ created_at: timestamp, | ||
let timestamp = Math.round(new Date().getTime() / 1000); | ||
let timestamp = new Date().getTime(); | ||
this.set('updated_at', timestamp); | ||
@@ -278,0 +278,0 @@ |
{ | ||
"name": "mongorito", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"description": "ES6 generator-based MongoDB ODM. It rocks.", | ||
@@ -5,0 +5,0 @@ "author": "Vadim Demedes <vdemedes@gmail.com>", |
16052
8