Skip to content

[Gantt Chart] Wrong date on Event Marker tooltip when timezone is applied #289

@alex4ndern

Description

@alex4ndern

Hello, I’m encountering an inconsistency with event marker behavior when a timezone is applied to the Gantt chart.

The event marker line is positioned correctly according to the configured timezone. However, the tooltip content for the same marker does not reflect this timezone adjustment.

When the timezone shift causes the marker to move to a different calendar day than the original day value, the tooltip still displays the original (pre-timezone) date instead of the adjusted one.

for a simple test you can use the stackblitz link from https://ej2.syncfusion.com/angular/documentation/gantt/eventmarkers
and add timezone="America/Phoenix" to the component

Image

Please note that this can vary based on your local time zone, the important part is for the time zone to move your event marker into a different day.

After the change, the day "04/19/2019"

Image

Went back few hours, thus it got rendered into the previous day (04/18/2019)

Image Image Image

but the tooltip still says "04/19/2019"

Image

I'm assuming this is not intentional. If it is, then is there an easy way to change the date inside the tooltip as well?

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions