mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
Renamed date_s to dateString.
To be more explicit.
This commit is contained in:
parent
a5e18b0229
commit
1f484b03c7
|
@ -207,10 +207,10 @@ Prometheus.Graph.prototype.getOrSetEndDate = function() {
|
||||||
|
|
||||||
Prometheus.Graph.prototype.setEndDate = function(date) {
|
Prometheus.Graph.prototype.setEndDate = function(date) {
|
||||||
var self = this;
|
var self = this;
|
||||||
date_s = date.getFullYear() + '-' + (date.getMonth()+1) + '-' + date.getDate() + ' ' +
|
dateString = date.getFullYear() + '-' + (date.getMonth()+1) + '-' + date.getDate() + ' ' +
|
||||||
date.getHours() + ':' + date.getMinutes()
|
date.getHours() + ':' + date.getMinutes()
|
||||||
self.endDate.val("")
|
self.endDate.val("")
|
||||||
self.endDate.appendDtpicker({"current": date_s})
|
self.endDate.appendDtpicker({"current": dateString})
|
||||||
self.submitQuery();
|
self.submitQuery();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue