Kaydet (Commit) 3e17ed1f authored tarafından Eike Rathke's avatar Eike Rathke

Resolves: tdf#92767 use ISO 8601 for internal date string representation

Change-Id: I481bf3295feb64827de2122234a9300d0b8ced40
üst d368a613
......@@ -2020,6 +2020,10 @@ class FilterEntriesHandler
fVal = rtl::math::approxFloor(fVal);
mbHasDates = true;
bDate = true;
// Convert string representation to ISO 8601 date to eliminate
// locale dependent behaviour later when filtering for dates.
sal_uInt32 nIndex = pFormatter->GetFormatIndex( NF_DATE_DIN_YYYYMMDD);
pFormatter->GetInputLineString( fVal, nIndex, aStr);
}
// maybe extend ScTypedStrData enum is also an option here
mrStrings.push_back(ScTypedStrData(aStr, fVal, ScTypedStrData::Value,bDate));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment