<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 - Custom date format is not applied for fields which use custom function"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=112906">112906</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Custom date format is not applied for fields which use custom function
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>5.2.7.2 release
          </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>Calc
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>quazgar@posteo.de
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
I have defined a custom BASIC function:

Function test_format()
        test_format = Now()
End Function

When I now use this function to set the value of a field like so

=test_format()

I cannot change that field's format to anything but the default format.

Steps to Reproduce:
1. Create macro function mentioned above
2. Use in field.
3. Try to change format of field.

Actual Results:  
Field format is not changed.

Expected Results:
Field format should change.


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
Firefox/52.0</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>