fix
This commit is contained in:
@@ -307,6 +307,8 @@ def enroll_later(enrollment: Enrollment, context: Context):
|
||||
exc_cls=DeduplicationConflictError,
|
||||
)
|
||||
|
||||
return enrollment
|
||||
|
||||
|
||||
def date_to_midnight(dt: date) -> datetime:
|
||||
return datetime.combine(dt, time(0, 0)).replace(tzinfo=pytz.timezone(TZ))
|
||||
|
||||
Reference in New Issue
Block a user