The delay time of the pre-task is only displayed in minutes

When I do a schedule export, I set the task’s predecessor and the delay time, but the exported schedule’s delay time can only be displayed in minutes. Is it possible to set it to display in days? And display the Chinese word “个工作日” (days).

image.png (3.2 KB)

image.png (7.4 KB)

@Jiangqiming ,
we are analyzing this issue and request you to spare us little time. We will write back here soon to share the feedback.

Hi, any progress?

@Jiangqiming ,
yes.
Investigation shown that current API have a defect: Duration.TimeUnit is not passed to TaskLink.LagFormat property.
We will fix the issue in a future release.
Now you can use the following workaround:

var taskLink = project.TaskLinks.Add(task1, task2, TaskLinkType.StartToStart, project.GetDuration(TimeSpan.FromHours(1), TimeUnitType.Day));
taskLink.LagFormat = TimeUnitType.Day;

This is managed by MS Project’s language settings. MPP format doesn’t contain this information.

@Jiangqiming
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): TASKSNET-11305

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

The issues you have found earlier (filed as TASKSNET-11305) have been fixed in this update.

Download link