You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by cw...@apache.org on 2021/09/14 03:45:40 UTC
[druid] branch master updated: fix segment timeline in FireFox
(#11701)
This is an automated email from the ASF dual-hosted git repository.
cwylie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git
The following commit(s) were added to refs/heads/master by this push:
new 779fe8e fix segment timeline in FireFox (#11701)
779fe8e is described below
commit 779fe8e6adf8ab0c5b50da763d6cb885d4a9841e
Author: Vadim Ogievetsky <va...@ogievetsky.com>
AuthorDate: Mon Sep 13 20:45:18 2021 -0700
fix segment timeline in FireFox (#11701)
---
web-console/src/components/segment-timeline/bar-group.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web-console/src/components/segment-timeline/bar-group.tsx b/web-console/src/components/segment-timeline/bar-group.tsx
index 4bd75e6..dd72bb5 100644
--- a/web-console/src/components/segment-timeline/bar-group.tsx
+++ b/web-console/src/components/segment-timeline/bar-group.tsx
@@ -52,7 +52,7 @@ export class BarGroup extends React.Component<BarGroupProps> {
return dataToRender.map((entry: BarUnitData, i: number) => {
const y0 = yScale(entry.y0 || 0) || 0;
- const x = xScale(new Date(entry.x + 'Z'));
+ const x = xScale(new Date(entry.x + 'T00:00:00Z'));
const y = yScale((entry.y0 || 0) + entry.y) || 0;
const height = Math.max(y0 - y, 0);
const barInfo: HoveredBarInfo = {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org