https://bugs.documentfoundation.org/show_bug.cgi?id=164355

--- Comment #4 from Mike Kaganski <[email protected]> ---
I hope Eike can clarify if this is *intended* explicitly, or is just a relaxed
detection tolerant to any separators, as long as the sequence of (any)
separators, month names and numbers fits the expectation; I can only say that I
see how it's processed in ImpSvNumberInputScan::IsNumberFormatMain (where it
handles two-number strings [1]), putting parts of the string into sStrArray (so
that it has "JUN-", "15", ".", "2024"), nMonth (having -6 - i.e., short form of
June), nMonthPos (1), nNumericsCnt (2), nNums (having 1, 3) - all that allowing
ImpSvNumberInputScan::GetDateRef to return a date value.

[1]
https://opengrok.libreoffice.org/xref/core/svl/source/numbers/zforfind.cxx?r=47b4b163#3502

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to