From 1f484b03c78fb519c1b6da3c05a2c482e42f5455 Mon Sep 17 00:00:00 2001 From: Johannes 'fish' Ziemke Date: Thu, 21 Mar 2013 15:56:41 +0100 Subject: [PATCH] Renamed date_s to dateString. To be more explicit. --- web/static/js/graph.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/static/js/graph.js b/web/static/js/graph.js index b9d938741..a3db2030b 100644 --- a/web/static/js/graph.js +++ b/web/static/js/graph.js @@ -207,10 +207,10 @@ Prometheus.Graph.prototype.getOrSetEndDate = function() { Prometheus.Graph.prototype.setEndDate = function(date) { var self = this; - date_s = date.getFullYear() + '-' + (date.getMonth()+1) + '-' + date.getDate() + ' ' + + dateString = date.getFullYear() + '-' + (date.getMonth()+1) + '-' + date.getDate() + ' ' + date.getHours() + ':' + date.getMinutes() self.endDate.val("") - self.endDate.appendDtpicker({"current": date_s}) + self.endDate.appendDtpicker({"current": dateString}) self.submitQuery(); };