https://bugs.documentfoundation.org/show_bug.cgi?id=134490
Bug ID: 134490
Summary: Input number scanner silently accepts and skips
repeated '-' and '/' characters before a number
Product: LibreOffice
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: framework
Assignee: [email protected]
Reporter: [email protected]
The number scanner used for field inputs, Calc cell input and various locale
dependent numeric or date+time inputs, has an odd behaviour in that it accepts
and skips '-' and '/' characters that immediately precede a number (without
ignoring a leading plus or minus sign or any other meaningful string like month
name though). This leads to the wrong acceptance of
--1 => -1
---1 => -1
+-1 => 1
+--1 => 1
which all should be text strings instead and not numbers.
A fallout from
commit b00fc9462d26083b6d09f72ea44abb1e11546b63
CommitDate: Wed Sep 15 11:54:10 2010 +0200
sc-date-fix.diff: Parse 'june-2007' as June 1 2007 in en-US locales
that implemented the intention wrongly.
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs