From 0918a7b2e4b3a05f542fb455d99e7470b8ed6dc9 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Sun, 31 Jul 2011 18:29:53 +0200 Subject: [PATCH] fixed timezone for min/max --- htdocs/frontend/javascripts/entity.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/frontend/javascripts/entity.js b/htdocs/frontend/javascripts/entity.js index 843541c..4e8f742 100644 --- a/htdocs/frontend/javascripts/entity.js +++ b/htdocs/frontend/javascripts/entity.js @@ -307,10 +307,10 @@ Entity.prototype.updateDOMRow = function() { if (this.data.rows > 0) { // update statistics if data available $('.min', row) .text(vz.wui.formatNumber(this.data.min[1], true) + this.definition.unit) - .attr('title', $.plot.formatDate(new Date(this.data.min[0]), '%d. %b %y %h:%M:%S', vz.options.plot.xaxis.monthNames)); + .attr('title', $.plot.formatDate(new Date(this.data.min[0]), '%d. %b %y %h:%M:%S', vz.options.plot.xaxis.monthNames, true)); $('.max', row) .text(vz.wui.formatNumber(this.data.max[1], true) + this.definition.unit) - .attr('title', $.plot.formatDate(new Date(this.data.max[0]), '%d. %b %y %h:%M:%S', vz.options.plot.xaxis.monthNames)); + .attr('title', $.plot.formatDate(new Date(this.data.max[0]), '%d. %b %y %h:%M:%S', vz.options.plot.xaxis.monthNames, true)); $('.average', row) .text(vz.wui.formatNumber(this.data.average, true) + this.definition.unit); $('.last', row)