mirror of
https://github.com/apache/superset.git
synced 2026-04-21 09:04:38 +00:00
[time table] add tooltip to sparkline (#3767)
* [time table] add tooltip to sparkline * [time table] open link in new tab * [time table] add back Mustache
This commit is contained in:
committed by
Grace Guo
parent
7fd9c82ae8
commit
7f3edad119
@@ -64,7 +64,6 @@ export const tickMultiFormat = d3.time.format.multi([
|
||||
]);
|
||||
export const formatDate = function (dttm) {
|
||||
const d = UTC(new Date(dttm));
|
||||
// d = new Date(d.getTime() - 1 * 60 * 60 * 1000);
|
||||
return tickMultiFormat(d);
|
||||
};
|
||||
export const fDuration = function (t1, t2, f = 'HH:mm:ss.SS') {
|
||||
|
||||
Reference in New Issue
Block a user