Is `current_time` passed in to make testing easier? Otherwise a datetime.datetime.now() here could be easier.