diff options
-rw-r--r-- | node.d/node_modules/netdata.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node.d/node_modules/netdata.js b/node.d/node_modules/netdata.js index 572e639bee..abf777b17d 100644 --- a/node.d/node_modules/netdata.js +++ b/node.d/node_modules/netdata.js @@ -139,7 +139,7 @@ var netdata = { logdate: function(d) { if(typeof d === 'undefined') d = new Date(); - return this.zeropad2(d.getFullYear()) + '-' + this.zeropad2(d.getMonth()) + '-' + this.zeropad2(d.getDay()) + return this.zeropad2(d.getFullYear()) + '-' + this.zeropad2(d.getMonth()) + '-' + this.zeropad2(d.getDate()) + ' ' + this.zeropad2(d.getHours()) + ':' + this.zeropad2(d.getMinutes()) + ':' + this.zeropad2(d.getSeconds()); }, |