Fix: Chart.js printMonthDay bug
This commit is contained in:
@@ -15,7 +15,7 @@ Chart.prototype.drawRecordGraph = function(index, date, bestRecord, min, max) {
|
|||||||
|
|
||||||
this.drawText(
|
this.drawText(
|
||||||
posX, posY + Chart.CHART_DATE_OFFSET_Y,
|
posX, posY + Chart.CHART_DATE_OFFSET_Y,
|
||||||
date === "-" ? "-" : StringUtil.printMonthDay(date)
|
date === "-" ? "-" : DateUtil.printMonthDay(date)
|
||||||
);
|
);
|
||||||
|
|
||||||
if(bestRecord === "")
|
if(bestRecord === "")
|
||||||
|
|||||||
Reference in New Issue
Block a user