Added support for passing a hash to date and time values