If a value/field is a Calendar, it will be converted to a Date using getTime()

Closes #2911