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
The start time is after hours on a Friday at 6pm, while the end time is after hours on the following Monday at 6pm. The correct answer should be datetime.timedelta(1), right?
The text was updated successfully, but these errors were encountered:
assuming bt.business_hours is (datetime.time(9, 0), datetime.time(17, 0)) and bt.weekends is (5, 6)shouldn't this be equal to bt.businesstimedelta(datetime.datetime(2016, 6, 20, 9, 0), datetime.datetime(2016, 6, 20, 17, 0)) ?
which is: datetime.timedelta(0, 28800)
This piece of code returns the wrong time delta:
The start time is after hours on a Friday at 6pm, while the end time is after hours on the following Monday at 6pm. The correct answer should be
datetime.timedelta(1)
, right?The text was updated successfully, but these errors were encountered: