Fix DateTime typecast spec