Fix typo in Excel date processing

This commit is contained in:
Nathan Gray 2012-02-13 19:23:17 +00:00
parent 4f669300a4
commit 1624c37dc7

View File

@ -1012,7 +1012,7 @@ abstract class bo_merge
break; break;
case 'application/xmlExcel.Sheet': // Excel 2003 case 'application/xmlExcel.Sheet': // Excel 2003
$format = '/'.preg_quote('<Data ss:Type="String">','/').'..('.implode('|',$names).')..'.preg_quote('</Data>','/').'/'; $format = '/'.preg_quote('<Data ss:Type="String">','/').'..('.implode('|',$names).')..'.preg_quote('</Data>','/').'/';
$replacement = '<Data ss:Type="Number">\$\$$1\$\$</Data>'; $replacement = '<Data ss:Type="DateTime">\$\$$1\$\$</Data>';
break; break;
} }