0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

Merge pull request #1875 from wangsai/fix-date

fix missused Date obj
This commit is contained in:
Hannah Wolfe 2014-01-07 10:52:41 -08:00
commit 03a8200fa0

View file

@ -81,7 +81,7 @@ function initDbHashAndFirstRun() {
function setup(server) {
// create a hash for cache busting assets
var assetHash = (crypto.createHash('md5').update(packageInfo.version + Date().now).digest('hex')).substring(0, 10);
var assetHash = (crypto.createHash('md5').update(packageInfo.version + Date.now()).digest('hex')).substring(0, 10);
// Set up Polygot instance on the require module
Polyglot.instance = new Polyglot();