fixed dashboard - updated analytics to include sectors instead of isin
Some checks failed
Deployment / deploy-docker (push) Has been cancelled

This commit is contained in:
Melchior Reimers
2026-02-03 13:58:47 +01:00
parent 33939c7e46
commit f608f7ca40
3 changed files with 37 additions and 44 deletions

View File

@@ -383,7 +383,7 @@
if (typeof dateVal === 'string') {
return dateVal.split('T')[0]; // Extract date part
} else if (typeof dateVal === 'number') {
return new Date(dateVal / 1000).toISOString().split('T')[0];
return new Date(dateVal / 1000000).toISOString().split('T')[0];
}
return dateVal;
}))].sort();
@@ -424,7 +424,7 @@
if (typeof rowDate === 'string') {
rowDateStr = rowDate.split('T')[0];
} else if (typeof rowDate === 'number') {
rowDateStr = new Date(rowDate / 1000).toISOString().split('T')[0];
rowDateStr = new Date(rowDate / 1000000).toISOString().split('T')[0];
}
return rowDateStr === date && config.exchanges.includes(exchange);
});