Skip to content

Commit

Permalink
fixing started date
Browse files Browse the repository at this point in the history
  • Loading branch information
bahamas10 committed Feb 21, 2013
1 parent 74ac315 commit d45ad29
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion routes/system.js
Expand Up @@ -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
Expand Down

0 comments on commit d45ad29

Please sign in to comment.