fix tooltip display to show the date, rather than the day of the week.

updated minified version.
#70
This commit is contained in:
chris.watts90@outlook.com 2017-03-24 21:45:01 +00:00
parent 092f116218
commit c6eab48f04
2 changed files with 2 additions and 2 deletions

View File

@ -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