fix tooltip display to show the date, rather than the day of the week.
updated minified version. #70
This commit is contained in:
parent
092f116218
commit
c6eab48f04
@ -163,7 +163,7 @@
|
|||||||
}
|
}
|
||||||
self.convertToDisplayDateTime = function (dateValue) {
|
self.convertToDisplayDateTime = function (dateValue) {
|
||||||
var date = new Date(dateValue); // dd MM YY HH:mm:ss e.g.: 01 Mar 17 17:34:02
|
var date = new Date(dateValue); // dd MM YY HH:mm:ss e.g.: 01 Mar 17 17:34:02
|
||||||
return date.getDay() + " "
|
return date.getDate() + " "
|
||||||
+ date.toLocaleString("en-us", { month: "long" }) + " "
|
+ date.toLocaleString("en-us", { month: "long" }) + " "
|
||||||
+ (date.getYear()-100) + " "
|
+ (date.getYear()-100) + " "
|
||||||
+ self.padNumber(date.getHours()) + ":"
|
+ self.padNumber(date.getHours()) + ":"
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user