From d45ad2932ff4a09d640ff2a2a3688375e9e99ab9 Mon Sep 17 00:00:00 2001 From: Dave Eddy Date: Thu, 21 Feb 2013 13:44:27 -0800 Subject: [PATCH] fixing started date --- routes/system.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/routes/system.js b/routes/system.js index 6be0416..640a9ac 100644 --- a/routes/system.js +++ b/routes/system.js @@ -5,12 +5,14 @@ var ejs = require('ejs'); var templ = fs.readFileSync(__dirname + '/../templates/system.ejs').toString(); var cache = require('../lib/cache'); +var started = new Date(); + module.exports = system; function system(req, res) { var data = { cwd: process.cwd(), - started: new Date(Date.now() - process.uptime()), + started: started, pid: process.pid, cacheage: cache.lastcacherebuild, version: process.version