Add Writer support for DateTime values (reader already supports and returns this type)
This commit is contained in:
parent
ab973cab34
commit
d077e9ab7e
@ -214,6 +214,8 @@ EOD;
|
||||
|
||||
if ($cell->isString()) {
|
||||
$cellXML .= $this->getCellXMLFragmentForNonEmptyString($cell->getValue());
|
||||
} elseif ($cell->isDate()) {
|
||||
$cellXML .= ' t="d"><v>' . ($cell->getValue()->format(\DateTime::ATOM)) . '</v></c>';
|
||||
} elseif ($cell->isBoolean()) {
|
||||
$cellXML .= ' t="b"><v>' . (int) ($cell->getValue()) . '</v></c>';
|
||||
} elseif ($cell->isNumeric()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user