support icon indicating copy to clipboard operation
support copied to clipboard

Event durationMS is not synced w/ duration value

Open arcady-zherdev opened this issue 4 years ago • 2 comments

Reported here: https://www.bryntum.com/forum/viewtopic.php?f=44&t=19325

Happens when an event has a non-working period between its start and end dates.

The reason is obvious considering the code:

    get durationMS() {
        const { endDateMS, startDateMS } = this;

        if (endDateMS && startDateMS) {
            return endDateMS - startDateMS;
        }
        else {
            return DH.asMilliseconds(this.duration || 0, this.durationUnit);
        }
    }

arcady-zherdev avatar Nov 03 '21 13:11 arcady-zherdev

Hey, any updates on this?

Globox21126 avatar Nov 23 '21 15:11 Globox21126

We'll try to address this shortly!

matsbryntse avatar Aug 02 '24 08:08 matsbryntse