Index: views_xml.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/views_datasource/Attic/views_xml.module,v retrieving revision 1.1.2.2 diff -u -p -r1.1.2.2 views_xml.module --- views_xml.module 9 Jul 2008 20:05:33 -0000 1.1.2.2 +++ views_xml.module 17 Apr 2009 21:26:31 -0000 @@ -136,8 +136,10 @@ function views_xml_raw_render($vid, $nod $value = views_xml_strip_illegal_chars(views_theme_field('views_handle_field', $field['queryname'], $fields, $field, $node, $view)); $label = preg_replace('/\W/', '', $label); // atrip any non-word character $label = str_replace("Profile", '', $label); //strip out Profile: from profile fields - if (strtotime($value)) - $value = date(DATE_ISO8601, strtotime($value)); + if (preg_match('/\d/', $value)) { + if (strtotime($value)) + $value = date(DATE_ISO8601, strtotime($value)); + } if (is_null($value) || ($value === '')) continue; $xml .= " <$label>$value\n"; }