Skip to content

Node.js based forum software built for the modern web

closes #6091

Barış Soner Uşaklıe35d0624d39e
diff --git a/src/prestart.js b/src/prestart.js
index bfe305fa20..dbc904b3a8 100644
--- a/src/prestart.js
+++ b/src/prestart.js
@@ -15,8 +15,7 @@ function setupWinston() {
timestamp: function () {
var date = new Date();
return nconf.get('json-logging') ? date.toJSON() :
- date.getDate() + '/' + (date.getMonth() + 1) + ' ' +
- date.toTimeString().substr(0, 8) + ' [' + global.process.pid + ']';
+ date.toISOString() + ' [' + global.process.pid + ']';
},
level: nconf.get('log-level') || (global.env === 'production' ? 'info' : 'verbose'),
json: !!nconf.get('json-logging'),