Fix for #112

This seems to fix the date problem.  It's not perfect because you have to add the type hint to the model file, but better than nothing.