Some functions in models.py had input typed as int when they needed to be typed as datetime.datetime
(imported from commit e529c0b914ed3d3d06e9581a6239676f68c97b3f)