fix missused Date obj

This commit is contained in:
WangSai 2014-01-08 01:19:14 +08:00
parent ce3920cc98
commit dbc1247508

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();