Skip to content

Incorrect timezone display in BarViz #6656

Description

@adamzip

Context

In the subscription trigger outcomes page, the Date column displays a "X hours ago" value, as well as a tooltip that shows the absolute time (eg: Date displays "4 hours ago", tooltip displays "2:33am"). These dates don't match up with the user machine's local time.

Eg:

Subscription trigger outcome: 4 hours ago
Tooltip: 2:23am
User local time: 9:23am

It could be because the tooltip displays the server's local time, based on the deployed PCS instance.

This makes it harder to work with the subscription history triggers, especially when coupled with other already ambiguous datetime displays like the one in Azure Data Explorer

Goal

If possible, match the "X hours ago" and tooltip time display with the user's timezone.
Look for any other places in BarViz where this issue might also exist.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions