We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dca933e commit aa7a7d9Copy full SHA for aa7a7d9
frontend/src/index.js
@@ -16,8 +16,7 @@ async function graphHistory(history, path) {
16
17
let dateStr = function(timestamp){
18
let date = new Date(timestamp);
19
- let month = date.getMonth() + 1;
20
- return date.getDate() + '/' + month + '/' + date.getFullYear();
+ return `${date.getDate()}/${date.getMonth() + 1}/${date.getFullYear()}`;
21
}
22
23
var data = {
0 commit comments