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

Bug fix: Exclusive end time for FreeTime #260

Merged
merged 1 commit into from
Nov 8, 2023

Commits on Nov 8, 2023

  1. Bug fix: Exclusive end time for FreeTime

    Schedule sees end time for TimeBlocks as exclusive. If an event is from 1200 - 1230, schedule recognises that the free time before that ends at 1130, not 1200.
    
    Let's:
    - make endTime of freetime to be inclusive
    - extend the FreeTime and TimeBlock implementation to include accepting 2400 as the endTime.
    
    Now the implementation of FreeTime and TimeBlock allows a range of time intervals starting from 0000 and ending at 2400.
    
    This allows events to end at the latest possible timing, which is actually 12am the next day.
    andrefoo committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    9166bbb View commit details
    Browse the repository at this point in the history