Renamed date_s to dateString.

To be more explicit.
This commit is contained in:
Johannes 'fish' Ziemke 2013-03-21 15:56:41 +01:00
parent a5e18b0229
commit 1f484b03c7
1 changed files with 2 additions and 2 deletions

View File

@ -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();
};