Skip to content

Commit

Permalink
feat: add createdAt field (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Kalinichenko committed May 25, 2020
1 parent a3fe752 commit 27543f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/database.js
Expand Up @@ -191,6 +191,7 @@ class Database extends Hookable {
path: normalizedPath,
extension,
slug: split[split.length - 1],
createdAt: stats.birthtime,
updatedAt: stats.mtime
}
}
Expand Down

0 comments on commit 27543f1

Please sign in to comment.