Skip to content

Commit c0049e9

Browse files
Correct date parsing
1 parent 9e398bc commit c0049e9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

site/static/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@
5555
}
5656

5757
function formatter() {
58-
let date = new Date(this.x);
58+
let date = new Date();
59+
date.setUTCMilliseconds(this.x);
5960
let commit = this.point.commit.substr(0, 10);
6061
return "<b>" + date.toLocaleString() + " - " + commit + "</b>" +
6162
"<br>" + this.series.name + ": " + this.point.absolute.toFixed(2) + " " +

0 commit comments

Comments
 (0)