1
0
mirror of https://github.com/QtExcel/QXlsx.git synced 2025-01-16 04:42:53 +08:00

test cell style

This commit is contained in:
Look Skyworker 2017-10-06 23:06:15 +09:00
parent 802bd12cab
commit 2e65989801

View File

@ -124,6 +124,10 @@ QVariant Cell::readValue() const
if (isDateTime())
{
QDateTime dt = dateTime();
ret = dt;
return ret;
/*
double val = d->value.toDouble();
if (val < 1)
{
@ -139,7 +143,9 @@ QVariant Cell::readValue() const
return ret;
}
return ret; // or. ...?
ret = dt;
return ret;
*/
}
if (hasFormula())