Resolve validation issue

It's a type error---a function expected a datetime but received a time.

I need to remember to call validation manually in my test code ._.