<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 - Locale-specific arguments must be treated depending on the cell's number format locale"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=143508">143508</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Locale-specific arguments must be treated depending on the cell's number format locale
          </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>URL</th>
          <td>https://ask.libreoffice.org/en/question/319335/how-to-convert-non-standard-text-to-date/
          </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>Calc
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>mikekaganski@hotmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>erack@redhat.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>There is an inconsistency how different spreadsheet functions treat their
locale-specific arguments.

TEXT [1] takes cell's locale when processing its 'Format' argument, and thus
'=TEXT(0.1;"0 000.000")' will give different results depending if cell's number
format is set to en-US or ru-RU: "0 000.100" vs "0 000. 000".

DATEVALUE [2], OTOH, does not take cell's number format locale into account
when parsing its argument, so that '=DATEVALUE("03 Jun 2019")' will give the
same result irrespective of the cell's settings - it would be a date when
program's locale is en-US; and it will be Err:502 when program is set to ru-RU
locale.

These should be made consistent, depending on the cell's locale to allow
flexibility.

[1]
<a href="https://help.libreoffice.org/7.2/en-US/text/scalc/01/04060110.html?DbPAR=CALC#bm_id3147132">https://help.libreoffice.org/7.2/en-US/text/scalc/01/04060110.html?DbPAR=CALC#bm_id3147132</a>
[2]
<a href="https://help.libreoffice.org/latest/en-US/text/scalc/01/func_datevalue.html?DbPAR=CALC">https://help.libreoffice.org/latest/en-US/text/scalc/01/func_datevalue.html?DbPAR=CALC</a></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>