Fix some errors in dateTimeField