<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Input number scanner silently accepts and skips repeated '-' and '/' characters before a number"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=134490">134490</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Input number scanner silently accepts and skips repeated '-' and '/' characters before a number
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>framework
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>erack@redhat.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>