Merge pull request #1931 from browncow5/issue1537
Timeline facet - show max date #1537
This commit is contained in:
commit
89ee45d001
@ -288,8 +288,9 @@ TimeRangeFacet.prototype._setRangeIndicators = function() {
|
|||||||
var format = "yyyy-MM-dd";
|
var format = "yyyy-MM-dd";
|
||||||
this._elmts.statusDiv.html(fromDate.toString(format) + " — " + toDate.toString(format));
|
this._elmts.statusDiv.html(fromDate.toString(format) + " — " + toDate.toString(format));
|
||||||
} else {
|
} else {
|
||||||
var format = "HH:mm:ss";
|
var timeOfDayformat = "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 dayOfYearFormat = "yyyy-MM-dd";
|
||||||
|
this._elmts.statusDiv.html("<b>" + fromDate.toString(dayOfYearFormat) + "</b> " + fromDate.toString(timeOfDayformat) + " — " + "<b>" + toDate.toString(dayOfYearFormat) + "</b> " + toDate.toString(timeOfDayformat) );
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user