When creating a task, the year is 1900

I have an anomalous project, when creating a task with any dates, Gantt creates tasks with 1900

image
image

why can this happen?

Hello,
That issue should be related to the year range in the lightbox. By default, it is set to 5 years before the minimal task date and 5 years after the maximal task date when you load tasks:
Duration Control Gantt Docs.

So, when you create a task that is beyond that date range, Gantt cannot choose the year in the year selector when you open the lightbox.

To fix that, you need to specify the year range that will include the year of the new task.
Here is the snippet:
https://snippet.dhtmlx.com/nrno64q6