Added a maximum date to the time range.
This commit is contained in:
parent
763b3d3f26
commit
200c3f0a4b
@ -288,8 +288,9 @@ TimeRangeFacet.prototype._setRangeIndicators = function() {
|
||||
var format = "yyyy-MM-dd";
|
||||
this._elmts.statusDiv.html(fromDate.toString(format) + " — " + toDate.toString(format));
|
||||
} else {
|
||||
var format = "HH:mm:ss";
|
||||
this._elmts.statusDiv.html("<b style='margin-right: 4em'>" + fromDate.toString("yyyy-MM-dd") + "</b> " + fromDate.toString(format) + " — " + toDate.toString(format));
|
||||
var timeOfDayformat = "HH:mm:ss";
|
||||
var dayOfYearFormat = "yyyy-MM-dd";
|
||||
this._elmts.statusDiv.html("<b>" + fromDate.toString(dayOfYearFormat) + "</b> " + fromDate.toString(timeOfDayformat) + " — " + toDate.toString(timeOfDayformat) + "<b> " + toDate.toString(dayOfYearFormat) + "</b>" );
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user