You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
isWithinShow is currently special casing a show end time of '0000' (midnight) but does not handle end times after midnight; for example, 2300-0200. Such a showtime will cause isWithinShow to indicate times are not within the show when they really are.
The correct solution is to test if the end time is less than the start time; if so, then the end date needs to be increased by 1, because it means the show ends the next day. Thus a show on 2020-01-20 from 2300-0200 will have end time 2020-01-21 0200.
The text was updated successfully, but these errors were encountered:
isWithinShow is currently special casing a show end time of '0000' (midnight) but does not handle end times after midnight; for example, 2300-0200. Such a showtime will cause isWithinShow to indicate times are not within the show when they really are.
The correct solution is to test if the end time is less than the start time; if so, then the end date needs to be increased by 1, because it means the show ends the next day. Thus a show on 2020-01-20 from 2300-0200 will have end time 2020-01-21 0200.
The text was updated successfully, but these errors were encountered: