Edit duration ,I want the unit is day

here is my dome and my code RY1ER559H)SS%7D00)1B_R4%7BM


when not edit,show 7days,but when I edit it ,is show 56,I want also show 7,how to do it?

Hello,
I couldn’t reproduce the issue in the following snippet:
http://snippet.dhtmlx.com/5/41ab644ff
Probably, it is related to the Gantt configuration, but it is hard to suggest what might be wrong as I don’t see your code.
Please, add your configuration in the following snippet and make sure that the issue is reproduced there:
https://snippet.dhtmlx.com/38ee1b370
Then, click on the Share button and send me the link.
Or send me a ready demo with all the necessary Javascript and CSS files so that I can reproduce the issue locally.