Fix turning DateTime into date string in Record::getValues()