a date is a date, not a float
Change-Id: Id9beab6a9cd9b7fa15ce0699b6eeb8a1e32448fe
This commit is contained in:
@@ -84,9 +84,9 @@ public class FormatValueUtility
|
||||
}
|
||||
else if (value instanceof Date)
|
||||
{
|
||||
variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, VALUE_TYPE, "float");
|
||||
ret = HSSFDateUtil.getExcelDate((Date) value).toString();
|
||||
variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, VALUE, ret);
|
||||
variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, VALUE_TYPE, "date");
|
||||
ret = formatDate((Date) value);
|
||||
variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, "date-value", ret);
|
||||
}
|
||||
else if (value instanceof Number)
|
||||
{
|
||||
|
Reference in New Issue
Block a user