Skip to content

In the Chinese (zh_cn) environment, if displayed in week mode in GanttChart, incorrect date conversion may occur. #600

@liutaoPLM

Description

@liutaoPLM

In the GanttComposite.java file of the package org. eclipse. newula. widgets. Ganttchart, in the getDate String method, DateHelper. getDate (cal, _settings. getWeekHeaderTextDisplayBottom()) performs string splitting on the return value, causing "星期一(Monday)" and "星期二(Tuesday)" to become "星" in the Chinese environment. This seems very unfriendly to Chinese users. Since I am using a lower version, I modified substring (0,1) to substring by decompiling. (2, 3), temporarily resolved this issue. I think the Gant diagram plugin is very good, so I hope this issue can be fixed in a new version.
Before making changes
QQ截图20240618185103
After making changes
QQ截图20240618190245
Thanks!

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