Uppon creating/editing a existing task, ( which the information came from a database, and then turned into JSON. ) The duration of the tasks changes to a different incorrect value.
Because of it, when editing the start_date, the calculation of the end_date is wrong (usually only adding 1 hour)
I honestly don’t know what could be causing this, the only time the calculation of the enddate is done correctly, it’s when I created a brand new task, put the hours, and then select a start_date, and even then, after editing afterwards,
the duration is set to 1 again.
Is there any configuration I set wrong?