Skip to content

Wrong duration for Moment localizer #2033

@acocheo

Description

@acocheo

const duration = localizer.diff(end, start, 'milliseconds')

star, end are probably inverted:
return dtB.diff(dtA, datePart)

Result is an negative event duration during drag&drop

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions