Skip to content

Rotation: Incorrect First handoff calculation #342

@sukhwinder33445

Description

@sukhwinder33445

Given:

Day: Monday
Current Date: 30.06.2025
Current Time: 12:45 AM

Case 1 (Mode => Partial Day):

The first handoff message is incorrect because the end time is in the past.

Image

Case 2 (Mode => Multi Day):

The first handoff message is incorrect. The rotation will end on Monday 12:00 AM (end of Sunday), so the 1 PM is out off scope here.
Note: From At: 1PM > Current Time (12:45PM)

Image

Case 3 (Mode => Multi Day):

Same as above.
Note: From At: 12:30PM < Current Time (12:45PM)
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/representationAffects the representation of information

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions