Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistency between Gantt constraint date column, and taskEdit constraint date field #10660

Open
maartenraes opened this issue Jan 23, 2025 · 1 comment
Assignees
Labels
bug Something isn't working OEM OEM customer ready for review Issue is fixed, the pull request is being reviewed

Comments

@maartenraes
Copy link

There is inconsistent behaviour in the advanced demo when updating the same field (constraintDate) from either Gantt inline and

Repro steps

  1. https://bryntum.com/products/gantt/examples/advanced/
  2. Set calendar to business in the hamburger menu in the taskbar
  3. Clear constraintType and constraintDate from task 1.1.1
  4. Set a constraintType to mustfinishon -> Engine will set the date, with 17:00 as hour
  5. Updating the constraintDate via the taskEdit widget does not change the time
  6. Updating the constraintDate via the grid column datepicker resets time to 00:00
// constraintDate set by the engine after setting a constraintType set hour to end of calendar
> task.constraintDate
Thu Jan 16 2025 17:00:00 GMT+0100 (Central European Standard Time)

// constraintDate updated through taskEdit widget
> task.constraintDate
Fri Jan 17 2025 17:00:00 GMT+0100 (Central European Standard Time)

// constraintDate update through grid column widget
> task.constraintDate
Sat Jan 18 2025 00:00:00 GMT+0100 (Central European Standard Time)
@maartenraes
Copy link
Author

maartenraes commented Jan 24, 2025

@Mick-Hardeman Seems like an easy fix, Arcady suggest same as you've mentioned before

the difference is the column editor doesn't have keepTime : 'entered'

@arcady-zherdev arcady-zherdev added the ready for review Issue is fixed, the pull request is being reviewed label Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working OEM OEM customer ready for review Issue is fixed, the pull request is being reviewed
Projects
None yet
Development

No branches or pull requests

3 participants