Skip to content

[ENHANCEMENT] TraceTable: use timezone setting from TimeRangeSelector#713

Open
andreasgerstmayr wants to merge 1 commit into
perses:mainfrom
andreasgerstmayr:tracetable-timezone
Open

[ENHANCEMENT] TraceTable: use timezone setting from TimeRangeSelector#713
andreasgerstmayr wants to merge 1 commit into
perses:mainfrom
andreasgerstmayr:tracetable-timezone

Conversation

@andreasgerstmayr

Copy link
Copy Markdown
Contributor

Description

tracetable: use timezone setting from TimeRangeSelector instead of local time

Screenshots

No UI changes, except that the timezone from the TimeRangeSelector is respected.

Checklist

  • Pull request has a descriptive title and context useful to a reviewer.
  • Pull request title follows the [<catalog_entry>] <commit message> naming convention using one of the
    following catalog_entry values: FEATURE, ENHANCEMENT, BUGFIX, BREAKINGCHANGE, DOC,IGNORE.
  • All commits have DCO signoffs.

UI Changes

  • Changes that impact the UI include screenshots and/or screencasts of the relevant changes.
  • Code follows the UI guidelines.

@andreasgerstmayr andreasgerstmayr requested a review from a team as a code owner June 29, 2026 11:40
@andreasgerstmayr andreasgerstmayr requested review from jgbernalp and removed request for a team June 29, 2026 11:40
Signed-off-by: Andreas Gerstmayr <agerstmayr@redhat.com>
@andreasgerstmayr andreasgerstmayr changed the title [ENHANCEMENT] tracetable: use timezone setting from TimeRangeSelector [ENHANCEMENT] TraceTable: use timezone setting from TimeRangeSelector Jun 29, 2026
<Tooltip title={UTC_DATE_FORMATTER(new Date(row.startTimeUnixMs))} placement="top" arrow>
<Typography display="inline" key={`st-${row.traceId}`}>
{DATE_FORMATTER(new Date(row.startTimeUnixMs))}
<Tooltip title={dateFormatterUTC(row.startTimeUnixMs)} placement="top" arrow>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not related to this PR, but generally the tooltip serve to give a precise date.
Like the display is "2 days ago" and the tooltip is "December 18, 2023 at 4:07:25.000 PM"

Here both display and tooltip shows a precise date, but there's no clue for the user to know it's actually the UTC time displayed in the tooltip. Is there ?

Can you give a little screenshot ?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

haha ok I have my screenshot there #714

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, well I would say why not in the end. LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants