fixed dashboard - updated analytics to include sectors instead of isin
Some checks failed
Deployment / deploy-docker (push) Has been cancelled
Some checks failed
Deployment / deploy-docker (push) Has been cancelled
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user