Post by julius stein »

Hallo Terence

Could you provide a fix for the following date/time issue?

If the date time is set to 00:00 the bryntum gant view shows the previous day

Odoo Version: 15
Reproducible: Yes
Reproducible on odoo-gantt.bryntum.com: yes
Bryntum App Version: 15.0.1.3.1

Thanks for your effort.

Attachments
Screenshot 2022-03-10 at 15.15.47.png
Screenshot 2022-03-10 at 15.15.47.png (571.95 KiB) Viewed 558 times
Screenshot 2022-03-10 at 15.15.24.png
Screenshot 2022-03-10 at 15.15.24.png (614.22 KiB) Viewed 558 times
date time issue.gif
date time issue.gif (1.15 MiB) Viewed 558 times

Post by Terence »

It is applying the user timezone ... This task is returned like

 "startDate": "2022-03-09T23:00:00",
  "endDate": "2022-03-18T14:15:00",

You could set displayFormat to show hours, in the view it is visible that it starts at 23 hours.

https://www.bryntum.com/docs/gantt/api/Gantt/column/StartDateColumn#config-format


Post by Terence »

To correct. The tasks dates are returned as UTC and not corrected by the browser locale setting. It should take tz of the user into account.

I will open a ticket.


Post by Terence »


Post by Terence »

This one is released in 1.3.3


Post Reply