Hi!
We enabled the adjustDurationToDST feature in the project configuration.
But have noticed some strange behavior.
When first loading up the application and moving an event. All other events located over a DST time will be adjusted.
This seems like strange behavior as moving any event will always trigger an adjustment of the events located on DST times.
I have attached a simple example where we reproduce the issue.
Steps:
Drag "Test blocker 3" to a different date.
Result:
"Test blocker 1" and "Test blocker 2" will have their end dates adjusted.
Using Bryntum 5.2.9 in the test.
Re: [VUE 2] DST Adjustment issue?
Posted: Fri Feb 03, 2023 8:59 pm
by marcio
Hey Softhouse,
I'm getting a translation error
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'plural')
Perhaps there is a missing localization file in the test that you shared??
Re: [VUE 2] DST Adjustment issue?
Posted: Mon Feb 06, 2023 9:50 am
by Softhouse
I'm not getting that issue when I'm running the app.
Could it be that you are missing the "sv-SE" locale for the DateHelper in PlanScheduler?
Re: [VUE 2] DST Adjustment issue?
Posted: Mon Feb 06, 2023 8:06 pm
by marcio
I see, but using that application that you shared didn't trigger any strange behavior (like changing the end date). Could you confirm that I'm trying to reproduce the bug in the right way??
Re: [VUE 2] DST Adjustment issue?
Posted: Wed Feb 08, 2023 1:52 pm
by Softhouse
It looks like you are doing it in the way to reproduce the issue.
You should check the dates on the two top events after moving the bottom event.
They are only shortened by 1h, so it could be that it doesn't show. When you hovered over the events they only displayed year and date.
I attached a clip when I reproduced it using my example.